[kupu-dev] Extending Kupu to edit XML in another namespaces

Roché Compaan roche at upfrontsystems.co.za
Wed Jun 24 21:24:07 CEST 2009


On Wed, 2009-06-24 at 08:47 +0200, Johnny deBris wrote:
> I don't think it's feasible, unfortunately the 'contentEditable' editor 
> component on which Kupu is based isn't very flexible, and to make 
> matters worse non-HTML parts of the DOM are not accessible from 
> JavaScript. I think if you want to write a 'proper' XML editor in 
> JavaScript, you will want to avoid the contentEditable component, 
> perhaps by implementing your own cursor and editable area (though that 
> won't be easy), or perhaps by using some of Mozilla/Firefox's XML 
> editing support, which as far as I understood is a lot more flexible...

Would it not be possible to simply extend kupucontentfilters.js to
include support for MathML in addition to XHTML? This seems to be the
library where xhtml validation takes place?

-- 
Roché Compaan
Upfront Systems                   http://www.upfrontsystems.co.za



More information about the kupu-dev mailing list