开发者

Jquery CKEditor WYSIWYG editor is showing me all buttons

I'm following the ckeditor example from here where I add the script

<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="/ckeditor/adapters/jquery.js"></script>

and call .ckeditor() on the appropriate class .editor

$( 'textarea.editor' ).ckeditor();

This shows me a full editor with ever开发者_如何学JAVAy button under the sun.

How can I customize which buttons I want to appear?


in config.js you can define your toolbars, or modify the default toolbars. It looks like this:

config.toolbar_Basic = [
    ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', '-','About']
];

see http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Toolbar for more information


check config.js file of editor

You need to make custom group of toolbars which u want to show.

check here

http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Setting_Configurations

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜