8
0
Maciej Bukowski 6 лет назад
Родитель
Сommit
c64f8bac19
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-widget/src/widgettoolbarrepository.js

+ 1 - 1
packages/ckeditor5-widget/src/widgettoolbarrepository.js

@@ -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 );