Announcement

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

#1 2008-11-18 11:27:15

ingwar
New member
Registered: 2008-11-18
Posts: 3

Dynamic editor creating in IE6

Hi!
I need dynamic Xinha instances on page, so when new instance should be created i use code:

Xinha.startEditors(Xinha.makeEditors([ID-of-textarea], xinha_config, xinha_plugins));

Config is exactly the sames as shown on http://xinha.webfactional.com/wiki/NewbieGuide except of lines :

xinha_editors   = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
Xinha.startEditors(xinha_editors);

are commented out

It works fine in Firefox 3, but when creating new editor in IE6 I got one of results: error "Object does not support this property or method" or
editor is created but is empty(does not display text from textarea) and is not editable(like read-only).

Is any solution for this problem? Xinha version 0.95

Offline

#2 2008-11-19 07:08:29

ingwar
New member
Registered: 2008-11-18
Posts: 3

Re: Dynamic editor creating in IE6

I included all needed files

<script type="text/javascript">
    _editor_url  = "/misc/js/Xinha_0.95/"
    _editor_lang = "en";
</script>
<script type="text/javascript" src="/misc/js/Xinha_0.95/XinhaCore.js"></script>

And also config file. If i create Xinha instances statically everything is OK, but problem is when I try to create instances dynamically.

Offline

Board footer

Powered by FluxBB