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
{{ message }}
Repository navigation
With highlight.js, SpecialChars will disappear after creation (perhaps to do with SelectTokenCallbacks) #141
Out of the full-plugin demos here, only with highlight.js and not with Prism.js, selecting text in the <textarea> or pressing arrow keys (but not adding/deleting text which changes the value and causes a rehighlight) causes:
the special characters to disappear and stop taking up space in the highlighted element.
This is a vague description and the characters disappear at some other times, too, but with little pattern; sometimes some but not all of the characters disappear.
This may be to do with SelectTokenCallbacks, since inspecting the element shows code-input_select-token-callbacks_temporary-span elements in the highlighted element.
Activity
WebCoder49 commentedon Jul 18, 2025
I cannot reproduce it on the same browser with only the SpecialChars plugin.
WebCoder49 commentedon Jul 18, 2025
This is part of #106.