cmb wrote:I want to suggest again, that editor_replace() should return only the JS without any surrounding <script>.
Hmm, seems I've overseen that...
But that should not be a problem to change that for CKEditor with the next release.
It's just a suggestion. But if everybody agrees (although silently
), I guess we should change it this way.
Holger wrote:but is it not the same at the end
Yes, it's the same in the end. But I would prefer to have it in the function's declaration. This way it's clear , what is the default. If we change this now, it's only a small problem, as this could be changed in CMSimple_XH's core accordingly. Only the incompatibility of XH 1.5.1 and newer editors will remain, but this could be solved easily by updating to XH 1.5.2 (an update package will be available). If we postpone the change, the incompatibilities might be harder to resolve.
But this is not really important. It's just, that we have to agree on a standard.