Advanced HTML Editor 3 Support Product Page


Setting content with Javascript

Asked 10 Sep 2011 18:16:07
has this question
10 Sep 2011 18:16:07 John Pawson posted:
The v2 editor has a handy dmxedit_InsertHTML and dmxedit_SetHTML function which doesn't seem to work with v3

Is it me being stupid - or have these functions been removed / changed?



Replied 04 Nov 2011 16:10:41
04 Nov 2011 16:10:41 larry Lee replied:
I am having the same problem - in v3 I cannot set the initial value from a JavaScript array. Has anyone had any luck with doing this with v3. I noticed the DMX gurus have not bothered to responded to the initial post on this issue - so I am hoping someone has found a solution.
Replied 07 Nov 2011 10:04:26
07 Nov 2011 10:04:26 Teodor Kuduschiev replied:
Hello Larry,

there is an Init value field in the properties inspector of Advanced HTML Editor 3. It can be dynamic also.
Replied 07 Nov 2011 18:00:06
07 Nov 2011 18:00:06 larry Lee replied:
QuoteHello Larry,

there is an Init value field in the properties inspector of Advanced HTML Editor 3. It can be dynamic also.

Hi Teodor
Thanks for the quick response.
I knew there is a dynamic option on the properties (I usually use it for the PHP initialization). This time the info I need to initialize the textarea with is in a two dimensional JavaScript array(fpRecArray[i][1]). I have tried all the "normal" ways of putting the reference of the array element into the dynamic field, but cannot seem to get it to work. I am obviously missing something. Can you point me to some documentation on the coding used to populate the editor from dynamic JavaScript array instead of a PHP record field?
Replied 14 Nov 2011 10:20:00
14 Nov 2011 10:20:00 Teodor Kuduschiev replied:
Hello Larry,

Unfortunately this is not included in Advanced HTML Eidtor options.
Replied 02 Apr 2012 10:13:11
02 Apr 2012 10:13:11 John Pawson replied:
So there's no way to manipulate the content of an editor with Javascript?

Could you add this to the wishlist?
Replied 18 Jun 2015 13:13:33
18 Jun 2015 13:13:33 Alejandro Mucino replied:
I am having the same issue. I have a drop down menu which when selected would insert a value on HTML editor2, now it doesn't work on HTML Editor3. What is the workaround. I have been requesting support for weeks with no luck on this or other bugs they have. I am quite disappointed so maybe the community can help.

Reply to this topic