Triligon / Blog / Xeditor Bugfixes, Copy Paste




Xeditor Bugfixes, Copy Paste

I finally brought xeditor into a state where one can likely use it without too many fears (well aside of the fact that it won't ever go back to using non XHTML of course).

Fixed the dreaded entity bug (which is really more of an ezxml weirdness) and also noticed that special chars (such as umlauts ;) were mangled and hacked my way around that, too.

To top it off, I did some experiments with copy pasting formatted texts from Word and OpenOffice 2 on Windows (in both IE6 and Firefox 1.5) and I'm content to report that it retains most formatting (at least as far as it actually makes sense in HTML). Tables, Fontsize, bold all remain. And even more to my surprise, it even works between Firefox 1.5 and OpenOffice 2.0.2 on Linux! w0000t

As always, you're welcome to try it here

Filed under: eZPublish   eZXHTML   Linux   Xinha  

Comments

RSS Streams for comments: http://triligon.org/triligon/flexiblerss/rssexport/view/flexiblerss_children/nodeid/796

Gabriel Ambuehl

It does use ezxmltext fields but hijacks them.

Basically, it is putting XHTML into the fields (with a few additions, like support for eznode:// and ezobject:// protocols for img and a href, so internal links are by node / object id, not by URL). This essentially means that you can (with some limitations which Xavier is looking at I believe) use it for xmltext fields but it's a one way street. Once you have real XHTML in ezxmltext you can't really go back to ezxml (ezxmloutput handler chokes on XHTML).

One of these days I'll write a more detailed doc for this.

Paul Forsyth

XML or Text

Just wondered if this interoperates with xml text or needs to use normal eztext text areas?