tinyMCE-mention icon indicating copy to clipboard operation
tinyMCE-mention copied to clipboard

mention autocomplete does not trigger when there is an active selection

Open Kobee1203 opened this issue 8 years ago • 1 comments

  • Enter some text,
  • select some text,
  • hit @ to replace the currently selected text with an autocomplete : the autocomplete does not trigger

The prevCharIsSpace() function doesn't check if there is a selected text. I added a new condition to check if there is a selected text. I renamed this function to be consistent with what it does.

Kobee1203 avatar Sep 20 '17 17:09 Kobee1203

Thx, I'll merge this one when I find the time.

StevenDevooght avatar Sep 21 '17 09:09 StevenDevooght