ckeditor5-inspector icon indicating copy to clipboard operation
ckeditor5-inspector copied to clipboard

Improve multiroot support

Open mlewand opened this issue 1 year ago • 2 comments

  • Add handling for detached (removed) roots.
    • Currently there's no difference.
  • Set data dialog should allow to chose which root will receive data change.

mlewand avatar Aug 10 '23 09:08 mlewand

As of implementation, we removed detached root in the initial solution.

However @scofalik pointed out that it could be useful in some cases to actually be able to see detached roots (to make sure that what you did works as expected and that the data there is emptied correctly).

Wondering what is the best solution for that. Following comes to my mind:

  • Just append a " (detached)" text to it's name and sort them to be at the end of results (but before graveyard).
  • Add opt-in flag setting to toggle visibility of detached roots.

I like the first solution more as it's much cheaper to implement and has 0 learning curve.

mlewand avatar Aug 10 '23 09:08 mlewand

+1 for "just append".

scofalik avatar Aug 10 '23 10:08 scofalik