Advanced HTML Editor 3 Support Product Page
Answered
Setting content with Javascript
Asked 13 years ago
1
has this question
13 years ago John Pawson posted:
The v2 editor has a handy dmxedit_InsertHTML and dmxedit_SetHTML function which doesn't seem to work with v3Is it me being stupid - or have these functions been removed / changed?
Thanks
Replies
Replied 13 years ago
13 years ago 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.
Thanks
Thanks
Replied 13 years ago
13 years ago 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.
there is an Init value field in the properties inspector of Advanced HTML Editor 3. It can be dynamic also.
Replied 13 years ago
13 years ago larry Lee replied:
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?
Thanks
Replied 13 years ago
13 years ago Teodor Kuduschiev replied:
Hello Larry,
Unfortunately this is not included in Advanced HTML Eidtor options.
Unfortunately this is not included in Advanced HTML Eidtor options.
Replied 13 years ago
13 years ago John Pawson replied:
So there's no way to manipulate the content of an editor with Javascript?
Could you add this to the wishlist?
Could you add this to the wishlist?
Replied 9 years ago
9 years ago 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.