这是我的配置 config.js: -
CKEDITOR.editorConfig = function( config )
{
config.extraPlugins = 'newplugin';
config.toolbar = 'MyToolbar';
config.toolbar_MyToolbar =
[
['Bold', 'Italic', 'Underline', 'Strike', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', 'NumberedList', 'BulletedList', '-', 'Font', 'FontSize', 'TextColor', '-', 'Table','Print', '-', 'Link', 'Unlink'],
['Newplugin']
]
};
这是我的Default.aspx: -
<body>
<form id="form1" runat="server">
<CKEditor:CKEditorControl ID="editor" CustomConfig="/ckeditor/config.js" runat="server" Height="500" EnableTheming="true">
</CKEditor:CKEditorControl>
</form>
</body>
我想通过使用javascript从ckeditor中分离工具栏和textarea,我想将textarea放在ckeditor的中间,使用90px。