Legend:
- Unmodified
- Added
- Removed
-
plugins/dcLegacyEditor/inc/dc.legacy.editor.behaviors.php
r3021 r3024 21 21 * @param context <b>string</b> page context (post,page,comment,event,...) 22 22 * @param tags <b>array</b> array of ids to inject editor 23 * @param syntax <b>string</b> wanted syntax (wiki,markdown,...) 23 24 */ 24 public static function adminPostEditor($editor='',$context='',array $tags=array() ) {25 public static function adminPostEditor($editor='',$context='',array $tags=array(),$syntax='') { 25 26 if (empty($editor) || $editor!='dcLegacyEditor') {return;} 26 27 … … 31 32 "//<![CDATA[\n". 32 33 dcPage::jsVar('dotclear.legacy_editor_context', $context). 34 dcPage::jsVar('dotclear.legacy_editor_syntax', $syntax). 33 35 'dotclear.legacy_editor_tags_context = '.sprintf('{%s:["%s"]};'."\n", $context, implode('","', $tags)). 34 36 "\n//]]>\n".
Note: See TracChangeset
for help on using the changeset viewer.