-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mentionSelect (format) can't return HTML #170
Comments
any workarounds for this? |
Facing same issue.
I am using div with contenteditable but I am not able to style it |
@dmacfarlane @quadsquad1101 @kazzkiq , Did anyone resolve this? |
@dmacfarlane @quadsquad1101 @kazzkiq @pallaviMN i was facing the same issue and landed here... i ended up with this little hack - its not pretty, but it works... since the substring may already exist in the string i add some temporary marks to the string like this in the config on select - (no html): ...and in "itemSelected" after 100ms i search for that string and replace it with html...
"this.htmlDoc" is my contenteditable element.. |
@tenji73 Hello, do you have the link of Stackblitz for your solution? thanks |
@ThamTran04 sure - here we go: |
Many thanks again |
can any one help me that if we type @ or # the seperae dropdown has to be shown only in the div and in angular 15 version |
Hey for those who are interested, you can also delete a whole mention by simply adding |
This plugin is awesome and seems to work pretty well already with both
<input>
elements and also<div contenteditable="true">
.The problem is that even when using this plugin with a
<div>
(which accepts HTML), I can't format my selection with HTML, because it just writes the HTML as text instead:Is it possible to accept HTML formatting in
mentionSelect
when using this plugin incontenteditable
elements?The text was updated successfully, but these errors were encountered: