Current filter:
                                You should refresh the page.
                                  • Is it possible to manually (via client-side code) insert a Mention element into the dxHtmlEditor?

                                    My scenario is:
                                    I'm using the Mentions functionality to show a list of previously uploaded files, attached to a record. The mentions template includes an img tag with the src pointing to the selected attachment... this works quite well.
                                    I'd like the user to be able to select a new document when editing the content of the Html editor and have the file uploaded, and then the mention created automatically for that attachment, as if they selected it manually from the mentions popup list.

                                1 Solution

                                Creation Date Importance Sort by


                                Yes, you can use the insertEmbed method to insert a mention in the editor programmatically. For example: I hope this information helps.


                                • Simon Unsworth 08.15.2019

                                  Awesome! works perfectly... thanks heaps.

                                • Alessandro (DevExpress Support) 08.15.2019

                                  It is good news that the problem has been resolved. Thank you for letting us know about your progress. Please feel free to contact us if you have any further difficulties. We will be happy to assist you.