Forum closed. New forum available at http://community.wymeditor.org/

WYMeditor + ExtJS - DOCTYPE problem

Discuss features, code, contributions, ideas, suggestions, ...
For bugs, patches and feature requests, please post on the Trac:
http://trac.wymeditor.org/

WYMeditor + ExtJS - DOCTYPE problem

Postby HendrixMH on Mon Apr 05, 2010 10:48 am

Hello
I'm working on integrating WYMeditor to ExtJS library
it works very well on FF and Chrome
you can see the demo here
http://sztukmistrze.pl/extjs-demo/wymHtmlEditor/

But there is a one big problem
ExtJS requires to NOT to use DOCTYPE declaration to work properly
and WYMeditor requires DOCTYPE declaration to work in IE
the problem was described here also: viewtopic.php?f=2&t=206
so when you start typing something in editor, all content goes white, when you hover the mouse on it, it goes back

So my question is:
is it posible to hack WYMeditor to work without DOCTYPE declaration
maybe you can give me some ideas where to look ?
HendrixMH
 
Posts: 1
Joined: Mon Apr 05, 2010 10:32 am

Re: WYMeditor + ExtJS - DOCTYPE problem

Postby mr_lundis on Mon Apr 05, 2010 4:17 pm

Hi!
Removing the doctype will indeed cause WYMeditor to miss behave - but as far as I can tell - ExtJS will work fine with a transitional xhtml doctype.

See http://www.extjs.com/forum/showthread.php?t=74497.

Cheers! ;)
Jonatan Lundin - designer, developer and forum moderator. You should follow me on Twitter!
mr_lundis
 
Posts: 335
Joined: Sun Dec 02, 2007 10:59 am
Location: Sweden


Return to Developers

Who is online

Users browsing this forum: No registered users and 1 guest