Opened 14 years ago

Closed 14 years ago

#6095 closed Bug (duplicate)

addMenuGroup is not a function

Reported by: SLX Owned by:
Priority: Normal Milestone:
Component: General Version: 3.3.1
Keywords: Cc:


I have this error "a.addMenuGroup is not a function" when I remove at once plugins contextmenu and scayt.

CKEDITOR.editorConfig = function( config )
  config.removePlugins = 'contextmenu,scayt';

Error is not triggered when I additionally remove liststyle.

Other people only disable plugin "scyte" to achieve this error. Look at this thread

I think that is because plugins "liststyle" and "scyte" need required property with "menu" plugin.

I added this lines to source files and it seems to work:

File \ckeditor\_source\plugins\liststyle\plugin.js:10

	CKEDITOR.plugins.liststyle =
  	requires : [ 'menu' ],               // HERE 
		init : function( editor )

And in file \ckeditor\_source\plugins\scayt\plugin.js:486

	CKEDITOR.plugins.add( 'scayt',
		requires : [ 'menubutton', 'menu' ],       //HERE

		beforeInit : function( editor )

Change History (1)

comment:1 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: addMenuGroup scyte contextmenu liststyle removed
Resolution: duplicate
Status: newclosed

DUP of #5799

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