You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see it was made public in ckeditor/ckeditor5-engine#813. Why? Couldn't it be protected if the dev utils need to access them? Besides, wasn't Document#getRootNames() + Document#getRoot() + Document#graveyard enough?
The text was updated successfully, but these errors were encountered:
AFAIR, it was made public during writing logging tools for engine. I noticed that the implementation between ModelDocument and ViewDocument is different. I haven't seen that ModelDocument has getRootNames though.
If that's the case, we can think of unifying the implementations by making _roots private for both model and view document, and introduce getRootNames() for ViewDocument.
I see it was made public in ckeditor/ckeditor5-engine#813. Why? Couldn't it be protected if the dev utils need to access them? Besides, wasn't
Document#getRootNames()
+Document#getRoot()
+Document#graveyard
enough?The text was updated successfully, but these errors were encountered: