sleemanj / xinha

WYSIWYG HTML Editor Component (turns <textarea> into HTML editors)
http://trac.xinha.org/
Other
13 stars 2 forks source link

Text area always disabled (Trac #1606) #1606

Closed sleemanj closed 4 years ago

sleemanj commented 11 years ago

Hi, I have a xinha editor in a jquery dialog box and I can't write in the text area. Normaly just resizing the editor fix the problem but not this time. What's odd is the I can add pictures throught the images manager. I've use the bowser consol for debug and when I use the setHTML methode to feed some stuff in the editor, it doesn't show my input. I can get back what I've set in it with getHTML so I know it's there somewhere. Only if I use insertHTML will it show what I've wrote. Yet I still can't click on it to edit the thing through the editor.

Reported by guest, migrated from http://trac.xinha.org/ticket/1606

sleemanj commented 11 years ago

guest commented:

By the way, if in the browser console I do a xinha_editors.myTextArea.generate, everything works fine. is there a way to destroy the existing editor and generate a new one every time I open the dialog box?

sleemanj commented 11 years ago