Announcement

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

#1 2010-03-07 17:36:09

markov
New member
Registered: 2010-03-07
Posts: 2

xinha in non editable state.

I''m loading a xinha instance in an extjs panel. When the panel is created, I activate, resize and setEditorContent.
This leaves the editor in a bizarre state where the html source text is editable, the wysiwyg text isn't and the two can get out of sync. Has anyone seen this behavior before?

Offline

#2 2010-03-07 19:52:25

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: xinha in non editable state.

Any errors etc in firebug?  Using the latest trunk?  If you take "extjs" out of the equation does your setup and initialization work?


James Sleeman

Offline

#3 2010-03-07 20:03:02

markov
New member
Registered: 2010-03-07
Posts: 2

Re: xinha in non editable state.

No errors in firebug, I'm using 0.96beta2 and the setup and initialization work in extjs just fine if I start with the tab open.
The problem occurs when I start w/ the tab hidden and then switch to it.

Offline

#4 2010-03-07 20:24:44

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: xinha in non editable state.

Hmmmm, yes, from distant memory this is a known problem with the browser (not with Xinha, I don't think we do anything wrong).

I think you need to activate the editor ( with youreditor.activateEditor() ) after it becomes visible, and deactivate ( youreditor.deactivateEditor() ) before it goes invisible, if you activate before it's visible, you get strange behaviour.


James Sleeman

Offline

Board footer

Powered by FluxBB