Hi, I wrote a plugin that inserts a table with some scripts and css into editor at cursor location via 'insertHtml'. Everything is good till now. BTW: table html is like:
....
now i open the plugin dialog again, edit the details (onShow() finds the table in the editor's html and extracts the details to edit), i changed something, and now is where the problem is: - i want to keep the same table, and not insert again at 'some' cursor location (since user can be anywhere on the document when he wants to 'edit' the table. - after editing details, i used most possible ideas to keep the same table as parent and only change its children/contents. I used createFromHtml/appendHtml/setHtml etc and they seems to work ok. but now when i mouse over the td text, it throws a JS error and complains that the mouseover/mouseout handlers are not found.. - now i change to source more, and switch back to html mode, and everything works good again. it seems to now find the handlers and no more error!! Does it explain that the methods except 'insertHtml' and switching back from source-to-html mode does not parse script tag, or am i missing something? Thanks a lot.