CKEditor 的 ToolBar 的快速設定
CKEditor 真是好用
快速設定法:
<script type=”text/javascript”>
CKEDITOR.config.toolbar_XXXXX =
[
['NewPage', 'Preview'],
['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Scayt'],
['Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat'],
['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak'],
‘/’,
['Styles', 'Format'],
['Bold', 'Italic', 'Strike'],
['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'],
['Link', 'Unlink', 'Anchor'],
['Maximize', '-', 'About']
];
CKEDITOR.replace(‘Content_3′,
{
toolbar: ‘XXXXX’
[...]