|
|
@@ -126,7 +126,7 @@ export default class WidgetToolbarRepository extends Plugin {
|
|
|
* @error widget-toolbar-duplicated
|
|
|
* @param toolbarId Toolbar id.
|
|
|
*/
|
|
|
- throw new CKEditorError( 'widget-toolbar-duplicated: Toolbar with the given id was already added.', { toolbarId } );
|
|
|
+ throw new CKEditorError( 'widget-toolbar-duplicated: Toolbar with the given id was already added.', this, { toolbarId } );
|
|
|
}
|
|
|
|
|
|
toolbarView.fillFromConfig( items, editor.ui.componentFactory );
|