Opened 11 years ago
Closed 11 years ago
#11206 closed Bug (expired)
Toolbar is not enabling
Reported by: | Subash | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Toolbar | Version: | |
Keywords: | Cc: |
Description
Dear Team,
When i am using CKeditor in my application, Toolbar is often getting disabled when loading/Refreshing my page.
I have to refresh again and again to resolve this issue. Please do the needful.
Attachments (3)
Change History (7)
Changed 11 years ago by
Attachment: | Screen Shot 2013-11-22 at 8.27.13 pm.png added |
---|
comment:1 follow-up: 2 Changed 11 years ago by
Keywords: | Toolbar removed |
---|---|
Status: | new → pending |
Version: | 4.2.3 |
- Could you attach a sample on which it happens, so we'll be able to reproduce it too?
- What browser and OS do you use?
comment:2 Changed 11 years ago by
Replying to Reinmar:
- Could you attach a sample on which it happens, so we'll be able to reproduce it too?
- What browser and OS do you use?
In Config.js:
/
- @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
- For licensing, see LICENSE.html or http://ckeditor.com/license */
CKEDITOR.editorConfig = function( config ) {
Define changes to default configuration here. For the complete reference: http://docs.ckeditor.com/#!/api/CKEDITOR.config The toolbar groups arrangement, optimized for two toolbar rows.
config.toolbarGroups = [
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] }, '/', { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, '/', { name: 'styles' }, { name: 'insert' }
];
Remove some buttons, provided by the standard plugins, which we don't need to have in the Standard(s) toolbar. config.removeButtons = 'NewPage,Templates,CreateDiv,Anchor,Flash,Image,HorizontalRule,Smiley,PageBreak,Iframe,Format,Font,FontSize,Table';
remove overall plugins that no need config.removePlugins = 'document,forms,about'
Make dialogs simpler. config.removeDialogTabs = 'image:advanced;link:advanced';
To set the Undo Stack size to hold (N-1)
config.undoStackSize = 500;
};
In Html Page:
<div id="book">
<p> --- HTML Page Content here-- </p>
</div>
<script type="text/javascript">
CKEditor Plugins Integration $(document).ready(function () {
$('#book').attr("contenteditable", true);
We need to turn off the automatic editor creation first.
CKEDITOR.disableAutoInline = true;
var editor = CKEDITOR.inline('book', {
allowedContent: true
});
});
</script>
Also Please find the attachment which i previously sent. Please guide me to resolve this problem. Thanks in advance.
Changed 11 years ago by
Attachment: | replacebycode.html added |
---|
Changed 11 years ago by
comment:3 Changed 11 years ago by
- Ok, I have managed to find out you use CKEditor full package.
- Could you tell me which version of editor you use?
- Have you made any core code modifications?
- In which browser does it happen?
- What are exact steps to reproduce this problem?
- I have tried default CKEditor 4.3 full package with modified replacebycode.html sample and config.js file but didn't get this issue. Please specify all details needed to reproduce this problem
Please attach your html page and config.js. Parts of HTML and JS are not enough because there might be some errors on your page (e.g. invalid doctype) or some third-party script that breaks editor.
Please answer all questions asked above.
comment:4 Changed 11 years ago by
Resolution: | → expired |
---|---|
Status: | pending → closed |
Toolbar is disabled