Advanced HTML Editor 3 Support Product Page

Answered

Insert text in the body of the editor via Javascript

Asked 16 Nov 2013 21:31:04
2
have this question
16 Nov 2013 21:31:04 Robert Criss posted:
I would like to insert text in the body of the editor at my cursor position onClick.

In a nutshell::
I have a form w/ dynamic fields that processes emails on server side at submission.
When my user clicks on text outside the textarea, I want that text they clicked on to be inserted in the body of the textarea.

Script Example:: screencast.com/t/hv0b1hq5747v
Explanation:: screencast.com/t/SASyLPg2

I can get my script to work and I can get the HTML Editor to work, but not at the same time.

Replies

Replied 18 Nov 2013 10:01:41
18 Nov 2013 10:01:41 Teodor Kuduschiev replied:
Hello Robert,
We do not support inserting text into the editor using javascript.
Replied 20 Nov 2013 15:35:23
20 Nov 2013 15:35:23 Robert Criss replied:
How about jQuery?

Reply to this topic