﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10918	Activating the constructor even if the plugin is disabled	Roberto Roncato		"I have a situation in which in the same page I would activate ckeditor with bbcode active only on certain textarea

So on the textarea I'm interested, I activate the editor instance with removePlugins: 'bbcode'. The problem is that in these instances, the image dialog is modified omitting some plugin information (height, width, ...)

Looking at the source code of the bbcode plugin, I suppose it is always called even if the plugin is disabled


{{{
BBCODE plugin source:

(function() {
	CKEDITOR.on( 'dialogDefinition', function( ev ) {
		var tab,
			name = ev.data.name,
			definition = ev.data.definition;

		if ( name == 'link' ) {
			definition.removeContents( 'target' );
			definition.removeContents( 'upload' );
			definition.removeContents( 'advanced' );
			tab = definition.getContents( 'info' );
			tab.remove( 'emailSubject' );
			tab.remove( 'emailBody' );
		} else if ( name == 'image' ) {
			definition.removeContents( 'advanced' );
			tab = definition.getContents( 'Link' );
			tab.remove( 'cmbTarget' );
			tab = definition.getContents( 'info' );
			tab.remove( 'txtAlt' );
			tab.remove( 'basic' );
		}
	});

        ...

}}}
"	Bug	closed	Normal		General		invalid		
