Hello all,
I'm putting together a page to which editor fields (textarea elements) are added dynamically (via AJAX) in response to user input. WYMeditor seems to have problems if I call its init code more than once on the page (e.g., the second time an editor is added).
I would guess this has something to do with WYMeditor not checking to see if page elements have already been converted to WYMeditors when the Wymeditor constructor is called.
As a workaround, I would be more than happy to de-WYMeditor-ize all of my textfields when a new one is added, and then re-WYMeditor-ize all of them, but there doesn't seem to be any functionality to do that in the WYMeditor API.
Can anyone offer a solution?