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)

Screen Shot 2013-11-22 at 8.27.13 pm.png (12.2 KB) - added by Subash 11 years ago.
Toolbar is disabled
replacebycode.html (2.0 KB) - added by Jakub Ś 11 years ago.
config.js (1.1 KB) - added by Jakub Ś 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by Subash

Toolbar is disabled

comment:1 Changed 11 years ago by Piotrek Koszuliński

Keywords: Toolbar removed
Status: newpending
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 in reply to:  1 Changed 11 years ago by Subash

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 Jakub Ś

Attachment: replacebycode.html added

Changed 11 years ago by Jakub Ś

Attachment: config.js added

comment:3 Changed 11 years ago by Jakub Ś

  1. Ok, I have managed to find out you use CKEditor full package.
  2. Could you tell me which version of editor you use?
  3. Have you made any core code modifications?
  4. In which browser does it happen?
  5. What are exact steps to reproduce this problem?
  6. 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 Piotrek Koszuliński

Resolution: expired
Status: pendingclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy