mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 11:36:08 +02:00
TinyMce bbcode plugin work
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
/* Tag: unordered list [list][*]line 1[*]line2[*]line 3[*]line 4[*]line5 etc[/list] - preferred */
|
||||
/* Tag: ordered list [list=<list type>][*]line 1[*]line2[*]line 3[*]line 4[*]line5 etc[/list] - preferred */
|
||||
/* Tag: unordered list [list]*line 1*line2*line 3*line 4*line5 etc[/list] - legacy*/
|
||||
/* Tag: ordered list [list=<list type>]*line 1*line2*line 3*line 4*line5 etc[/list] - legacy */
|
||||
//<?php
|
||||
/* Tag: unordered list [list]*line 1*line2*line 3*line 4*line5 etc[/list] */
|
||||
/* Tag: ordered list [list=<list type>]*line 1*line2*line 3*line 4*line5 etc[/list] */
|
||||
/* Tag: unordered list [list][*]line 1[*]line2[*]line 3[*]line 4[*]line5 etc[/list] - not compatible with TinyMce */
|
||||
/* Tag: ordered list [list=<list type>][*]line 1[*]line2[*]line 3[*]line 4[*]line5 etc[/list] - not compatible with TinyMce */
|
||||
/* valid list types:
|
||||
disc
|
||||
circle
|
||||
|
@@ -29,7 +29,7 @@ class bbcode_shortcodes
|
||||
//FIXME - cachevars/getcachedvars!
|
||||
global $pref, $eplug_bb, $bbcode_func, $bbcode_help, $bbcode_filedir, $bbcode_imagedir, $bbcode_helpactive, $bbcode_helptag, $register_bb;
|
||||
|
||||
if(defsettrue('e_WYSIWYG')){ return; }
|
||||
// if(defsettrue('e_WYSIWYG')){ return; }
|
||||
|
||||
$bbcode_func = ($bbcode_func) ? $bbcode_func : "addtext";
|
||||
$bbcode_help = ($bbcode_help) ? $bbcode_help : "help";
|
||||
@@ -133,7 +133,7 @@ class bbcode_shortcodes
|
||||
|
||||
function sc_bb_help($parm)
|
||||
{
|
||||
if(defsettrue('e_WYSIWYG')) { return; }
|
||||
// if(defsettrue('e_WYSIWYG')) { return; }
|
||||
global $bbcode_helpactive,$bbcode_helptag, $bbcode_helpsize;
|
||||
if($parm) $bbcode_helptag = $parm;
|
||||
elseif(!varset($bbcode_helptag)) $bbcode_helptag = 'helpb';
|
||||
|
Reference in New Issue
Block a user