Changeset 2750:97f45ba24be0 for plugins/dcLegacyEditor
- Timestamp:
- 09/02/14 22:12:45 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dcLegacyEditor/_admin.php
r2746 r2750 23 23 24 24 if ($self_ns->active) { 25 $wiki2xhtml = new wiki2xhtml(); 25 if (!($core->wiki2xhtml instanceof wiki2xhtml)) { 26 $core->initWikiPost(); 27 } 26 28 27 29 $core->addEditorFormater('dcLegacyEditor','xhtml',create_function('$s','return $s;')); 28 $core->addEditorFormater('dcLegacyEditor','wiki',array($ wiki2xhtml,'transform'));30 $core->addEditorFormater('dcLegacyEditor','wiki',array($core->wiki2xhtml,'transform')); 29 31 30 32 $core->addBehavior('adminPostEditor',array('dcLegacyEditorBehaviors','adminPostEditor'));
Note: See TracChangeset
for help on using the changeset viewer.