PDA

View Full Version : WYMeditor + ExtJS - integration



HendrixMH
4 Apr 2010, 2:37 PM
Hi
I need to integrate the jQuery plugin, WYMeditor into ExtJS application.

I spend one evening on it and i come up with first version.
It's very simple solution and it will probably behave strange when you use it with different config options.
But now, i need it working in it's simplest use case.

DEMO
http://sztukmistrze.pl/extjs-demo/wymHtmlEditor/

I hope this extension will be helpful for you
and you will help me to make it better

It works but on IE it behave strange and i don't know what is going on
so I NEED HELP :)
maybe someone have some idea ?

HendrixMH
5 Apr 2010, 1:32 AM
Ok
the problem is that WYMeditor requires DOCTYPE declaration to work ok on IE, as we know Ext don't like it
so we have conflict :s
i thing i should ask WYMeditor team about how to hack the editor to work with out DOCTYPE declaration

joeri
6 Apr 2010, 6:35 AM
Ext works just fine with a doctype. It would be pretty embarassing if it didn't.

teslin
17 Nov 2011, 9:10 AM
As Hendrix has stated here, the problem lies with the friction between WYMeditor and Ext as WYMeditor needs DOCTYPE declaration to work perfectly in Internet Explorer and Ext is completely against it. Anyway, it would be a good move if you could hack the editor so as to make it work effortlessly with Ext.