Hello Marius,
Can you give
an example on how to hook it?
At least hooking it in the instanceCreated (calling then
ckeditor.on( 'toDataFormat', function( evt) {
console.log("toDataFormat"); }, null, null, 3 );
did not seem to call it.
Should it be called later?
One of the alternative possibilities I have is to let the islands be
directly converted to a macro-call right after they got edited. This is
better for a predictable wysiwyg effect. However how could I let the
macro-islands be edited using the wiris plugin instead of the default
macro-editor when they are double clicked??
You could also write a
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
that is called on the server side before the HTML is converted to wiki
syntax.
I fear this is not pluggeable.
thanks
paul