ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

How to trigger mention suggestion list without white space

Open eshengsky opened this issue 1 year ago • 3 comments

Now, I must input @ (white space and @ character) to trigger mention suggestion list. How to let it work only input @ without white space?

eshengsky avatar May 28 '24 07:05 eshengsky

@eshengsky im guessing set minimumCharacters: 1 for mention option. That why u need to input one more charactor to get feed back. Also u can get more details here

mention: {
            feeds: [
                {
                    marker: '@',
                    feed: [ '@Barney', '@Lily', '@Marry Ann', '@Marshall', '@Robin', '@Ted' ],
                    minimumCharacters: 0 // check here
                }
            ]
        }

kerwin-ly avatar May 29 '24 03:05 kerwin-ly

@kerwin-ly I have set minimumCharacters: 0, but still not working. Thanks to reply.

eshengsky avatar May 30 '24 09:05 eshengsky

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot avatar May 30 '25 23:05 CKEditorBot