Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION Not able to configure full toolbar ckeditor
#4
(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
"
); 
Reply


Messages In This Thread
RE: Not able to configure full toolbar ckeditor - by smdp-1971 - 2017-05-01, 02:58:42



Users browsing this thread: 1 Guest(s)