Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option for inspecting DOM <=> Model/View #123

Open
pomek opened this issue Jul 9, 2021 · 3 comments
Open

Add an option for inspecting DOM <=> Model/View #123

pomek opened this issue Jul 9, 2021 · 3 comments

Comments

@pomek
Copy link
Member

pomek commented Jul 9, 2021

No description provided.

@oleq
Copy link
Member

oleq commented Jul 13, 2021

What would it look like?

@magda-chrzescian
Copy link

magda-chrzescian commented Jul 13, 2021

It should provide a possibility to quickly find the place in the editor, that is being watched in the inspector at the given moment, and vice versa. It would useful especially for long documents, where it is hard to "synchronize" the editor content with the inspector.

So the basic functionality would be:

  • Setting the selection in the proper place of the editor and scrolling to it when double-clicking on an element in inspector View/Model.
  • Scrolling to the selection in the inspector when clicking some button(?), like "Go to the selection".

Or maybe it would be enough to implement only the simpler of these solutions?

FYI @jacekbogdanski

@pomek
Copy link
Member Author

pomek commented Jul 13, 2021

I agree that looking for DOM elements based on our model/view can be annoying. CKEditor creates complex structures, and navigating into nested elements consumes some time. An option "Jump to DOM element" from model/view would be awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants