2017-05-01, 02:58:42
(2017-04-30, 15:04:40)cherryxiangyi Wrote: i had fixed , i found the common.php and edited it inline if(!isset($EDTOOL)) $EDTOOL = 'advanced'; // default gs toolbar
I have this code in gsconfig.php and everything works great
PHP Code:
# WYSIWYG toolbars (advanced, basic or [custom config])
define('GSEDITORTOOL', "
['About'],['ShowBlocks','CreateDiv'],
['Blockquote','SelectAll'],
['SpecialChar','Iframe'],
['Preview'],
['Source'],
['Templates'],
['Table'],
['Undo','Redo'],
['Maximize'],
'/',
['Bold','Italic','Underline'],
['NumberedList','BulletedList',''],
['Format'],
['JustifyLeft','JustifyCenter','JustifyRight'],
['Link','Unlink','Anchor'],
['Image','VideoDetector','Youtube','googlemaps','Thumb']
");
# WYSIWYG Editor Options
define('GSEDITOROPTIONS',"
skin:'moono-lisa',
//uiColor:null,
allowedContent:true,
fillEmptyBlocks:false,
startupOutlineBlocks:true,
emailProtection:'encode',
templates_replaceContent:false,
format_tags:'p;h4',
extraPlugins:'youtube,googlemaps,image2,autogrow,thumb,videodetector',
image2_alignClasses:['image-left', 'image-center', 'image-right'],
image2_captionedClass:'image-captioned',
youtube_responsive:true,
removePlugins : 'thumb,youtube',
youtube_txtEmbed:false
");