Skip to content

Conversation

jpopesculian
Copy link

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&nbsp;!</p>

If you were to type

<p>Hello my name is @&nbsp;!</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

Autocomplete can jump to the beginning of a node if there's a non
breaking space after the delimiter when typing.
@StevenDevooght
Copy link
Owner

Thx, I will have a look why the tests are failing.

@StevenDevooght
Copy link
Owner

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants