the problem at the end seems to be the different ways how to include the different editors. For me it's much easier with (F)CK than with Tiny...
- Code: Select all
$html = '<form>
<textarea id="my_teaser" name="my_teaser" class="my_teaser_class">Guten Tag!</textarea>
<textarea id="my_content" name="my_content" class="my_content_class">I need a fullblown editor</textarea>
And that's why I thought that editor_replace() is complete useless, because everything is (or can be) done with a config(.js) - with CK.
The only thing is that CK needs IDs and Tiny needs classes. But if the plugin provides both, it should not be a problem.
But I have to think about how to provide a useful function editor_replace() for CK. At the end it'll be the same as init_editor()...