-
Notifications
You must be signed in to change notification settings - Fork 8
Highlight matches within the page #49
Comments
Mentioned by @a2sheppy in issue #130:
I think this can be done without any special API, but if CKEditor already offers functions for this, that'd even better. This statement refers to scrolling to the match. Highlighting the match should be done without page interaction if possible, i.e. like the DevTools do it. Sebastian |
See CKEDITOR.dom.selection.scrollIntoView() here, for starters: http://docs.ckeditor.com/#!/api/CKEDITOR.dom.selection-method-scrollIntoView In general, there's a lot of stuff in the CKEditor API which is useful when writing tools to help with editing MDN -- http://docs.ckeditor.com/#!/api |
And that's described here: Sebastian |
Re-filed as mdn/doc-linter-webextension#23 |
It should be possible to somehow highlight the part of the page related to an error.
E.g. this could happen when hovering the match or by clicking an icon next to it. The matched part should then be scrolled to and highlighted like Firebug's or the DevTools' inspector does it.
Sebastian
The text was updated successfully, but these errors were encountered: