[CKEditor.Reactive] Adding text to current cursor position of CKEditor text with the click of a button
Forge component by Fábio Fantato Rodrigues
Application Type
Service Studio Version
11.10.16 (Build 40208)
Platform Version
11.11.2 (Build 28151)


 I've used a TextArea and a button. I wanted some text to appear inside the TextArea right on text cursor position when I clicked the button. It worked fine.

Then I added CKEdtor and now I am not able to add text on current cursor position. So far, the best I have is adding text at the end of text inside the editor.

Any help? I am using CKEditor.Reactive.

Thanks in advance!

Best regards,

I was able to sort out the situation by using an action that triggers when I click the button and then runs JS adding text passed as parameter:


Here are a few links that you may find useful:

Insert text at the cursor position to a CKEditor using jQuery

Inserting a text where cursor is using Javascript/jquery

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.