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
Create a simple application with <div class="mentionable">Some text.</div>
Initialize Tribute as new Tribute({ values: [ {key: 'Phil Heartman', value: 'pheartman'}, {key: 'Gordon Ramsey', value: 'gramsey'} ]
and attach to the contentEditable tribute.attach(document.querySelectorAll('.mentionable'));
Type @ to see the possible options to mention
and select any
Continue typing on the same line
then press 'Enter' key
What did you expect to happen?
Cursor moves to the next line.
What happened instead?
Cursor moves back to the place after mention and some part of a mention appears after it.
Trying to press 'Enter' again together with printing some text continue to insert some part of mentioning and moving cursor.
Link (jsfiddle/plunkr) or Screenshot:
The text was updated successfully, but these errors were encountered:
How can we reproduce this bug?
Create a simple application with
<div class="mentionable">Some text.</div>
Initialize Tribute as
new Tribute({ values: [ {key: 'Phil Heartman', value: 'pheartman'}, {key: 'Gordon Ramsey', value: 'gramsey'} ]
and attach to the contentEditable
tribute.attach(document.querySelectorAll('.mentionable'));
Type
@
to see the possible options to mentionand select any
Continue typing on the same line
then press 'Enter' key
What did you expect to happen?
Cursor moves to the next line.
What happened instead?
Cursor moves back to the place after mention and some part of a mention appears after it.
Trying to press 'Enter' again together with printing some text continue to insert some part of mentioning and moving cursor.
Link (jsfiddle/plunkr) or Screenshot:
The text was updated successfully, but these errors were encountered: