PDA

View Full Version : EditArea not working in OW


Christian Roth
2008-01-23, 07:00 AM
Hello,

I'm using MODx on one of my sites. The editing UI uses EditArea, a JavaScript source code editor with syntax highlighting etc.

While the editor works in Safari, it does not show in OmniWeb. A test URL to try would be:

http://www.cdolivet.net/editarea/editarea/exemples/exemple_full.html

In OW (5.7sp1), this renders just plain text area editing controls, while in Safari (3.0.4 (523.12.2)), the text area is replaced by a source code editor with automatic syntax highlighting.

Is this a problem with the code that EditArea uses and makes it incompatible with OW, or is this an OW issue?

Getting EditArea to work would be great :-)

Thanks, kris.

Christian Roth
2008-01-23, 07:08 AM
Found it: The code seems to do browser identification. When I set OW to identify as e.g. Safari, the editor shows as desired.

-kris