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
Thank you, this is due to the fact that SingleFile inserts <span> tags in order to implement the text highlighting feature. I'll try to see if I can improve the implementation to avoid the bug you described. In the long term, the implementation will probably use this API https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API. It would allow highlighting text without applying changes in the HTML.
gildas-lormeau
changed the title
UI elements are getting distorted after highlighting
Implement highlighting in the editor with the CSS Custom Highlight API
Jul 24, 2024
Describe the bug
UI elements such as button/ text boxes are getting distorted when highlighted.
Steps to Reproduce
Bug:
After highlighting elements like buttons, the text box appears to be cluttered.
The text was updated successfully, but these errors were encountered: