tinyMCE-mention
tinyMCE-mention copied to clipboard
Fix issue with non breaking space after delimiter
Autocomplete can jump to the beginning of a node if there's a non breaking space after the delimiter when typing:
TinyMCE content:
<p>Hello my name is !</p>
If you were to type
<p>Hello my name is @ !</p>
The autocomplete would fire and your cursor would select the beginning of the paragraph. The solution is just to reference the delimiter id when reselecting
Thx, I will have a look why the tests are failing.
Hi, I cannot really reproduce this issue...
The element you are selecting in the dom does not even exist? 'span#autocomplete-searchtext span#autocomplete-delimiter'