57u / custom-dropdown-ckeditor4

Allows you to create a custom dropdown added to the ckeditor4 toolbar, which outputs a text string (or whatever needed) to the editor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The plugin does not work for me, could you help me define what is happening?

Vikhingr opened this issue · comments

Archive: config.js

KEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';

// ExtraPlugins

config.extraPlugins = 'strinsert,googlesearch,tabletoolstoolbar,textselection,openlink,quicktable,selectallcontextmenu,simplebutton,stat,backup,richcombo';

// Color Buttons xconfiguration.

config.colorButton_colors =
'D6F5FF,C4F4C0,F8C9C4,000080,008000,' +
'800080,FFF2CC,CCCCCC,FFE599,F3F7FE,' +
'EEEEEE,FFFFFF,000000,276EF1,5FB709,C27BA0,016974';

// Toolbar groups configuration.

	config.toolbarGroups = [
	{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
	{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
	{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
	{ name: 'forms', groups: [ 'forms' ] },
	'/',
	{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
	{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
	{ name: 'links', groups: [ 'links' ] },
	{ name: 'insert', groups: [ 'insert' ] },
	'/',
	{ name: 'styles', groups: [ 'styles' ] },
	{ name: 'colors', groups: [ 'colors' ] },
	{ name: 'tools', groups: [ 'tools' ] },
	{ name: 'others', groups: [ 'others' ] },
	{ name: 'googlesearch', groups: [ 'googlesearch' ] },
	{ name: 'simplebutton'},
	{ name: 'about', groups: [ 'about' ] },
	'/',
	{ name: 'tables', groups: [ 'table','tablerow','tablecolumn', 'tablecell','tablecellmergesplit' ] }
];

// Font Sizes

config.fontSize_sizes = '10.5/14px;11/14.5px;14/18.5px;16/21px;;23/30.5px;';

//Styles

config.format_tags = 'p;h1;h2;h4';

// Remove buttons

config.removeButtons = 'NewPage,ExportPdf,Print,Cut,Copy,Paste,PasteText,PasteFromWord,Replace,Scayt,Form,Checkbox,Radio,Textarea,TextField,Select,Button,ImageButton,HiddenField,Strike,Subscript,Superscript,CopyFormatting,Blockquote,CreateDiv,Image,HorizontalRule,SpecialChar,PageBreak,Iframe,Styles,Font,Smiley';

};