froala / angular-froala

Angular.js bindings for Froala WYSIWYG HTML Rich Text Editor.
https://froala.com/wysiwyg-editor
MIT License
306 stars 123 forks source link

Put text via script in Froala Editor #249

Open ThePokyWizard opened 2 years ago

ThePokyWizard commented 2 years ago

I'm using Froala 3 with AngularJS, but I have a problem adding content from outside the editor into it.

I have a modal that displays several predefined messages, the problem occurs that I need to place this message exactly where the cursor is pointing inside Froala, and at the moment I can only place it concatenated at the end of the text.

How can I do this?