Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2007-05-31 07:23:25

arjan
New member
Registered: 2007-05-31
Posts: 2

Moving the editor with the DOM?

Hello guys,

is it possible to move an already initialized Xinha editor in the DOM tree? For example, using appendChild().
If I try this, the editor moves, BUT, it is no longer functional.. I tried wrapping it with (de)activateEditor() statements, but still no succes.

Any suggestions on how to fix this?

Thanks!
Arjan

Last edited by arjan (2007-05-31 11:37:31)


ToxTox developer
[url]http://www.toxtox.tv[/url]

Offline

#2 2007-06-28 05:59:41

jedi58
Xinha Authority
From: Leicester, UK
Registered: 2007-01-14
Posts: 113
Website

Re: Moving the editor with the DOM?

i think it would need to be destroyed and recreated using xinha_init()


David G. Paul
[url]http://www.newearthonline.co.uk[/url]

Offline

#3 2007-06-28 06:40:43

arjan
New member
Registered: 2007-05-31
Posts: 2

Re: Moving the editor with the DOM?

Alright, that would be an option... one more question: is there some kind of xinha_destroy() function which destroys the editor?


ToxTox developer
[url]http://www.toxtox.tv[/url]

Offline

Board footer

Powered by FluxBB