Open GaneshDabhade opened 11 months ago
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.
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.