This repository was archived by the owner on Jun 26, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import ContextualBalloon from '@ckeditor/ckeditor5-ui/src/panel/balloon/contextu
1313import { isImageWidgetSelected } from './image/utils' ;
1414import { repositionContextualBalloon , getBalloonPositionData } from './image/ui/utils' ;
1515
16- const balloonClassName = 'ck-toolbar-container ck-editor-toolbar-container ' ;
16+ const balloonClassName = 'ck-toolbar-container' ;
1717
1818/**
1919 * The image toolbar class. Creates an image toolbar that shows up when the image widget is selected.
@@ -69,13 +69,6 @@ export default class ImageToolbar extends Plugin {
6969 */
7070 this . _toolbar = new ToolbarView ( ) ;
7171
72- // Add CSS class to the toolbar.
73- this . _toolbar . extendTemplate ( {
74- attributes : {
75- class : 'ck-editor-toolbar'
76- }
77- } ) ;
78-
7972 // Add buttons to the toolbar.
8073 this . _toolbar . fillFromConfig ( toolbarConfig , editor . ui . componentFactory ) ;
8174
Original file line number Diff line number Diff line change @@ -79,11 +79,9 @@ describe( 'ImageToolbar', () => {
7979
8080 setData ( model , '[<image src=""></image>]' ) ;
8181
82- expect ( toolbar . element . classList . contains ( 'ck-editor-toolbar' ) ) . to . be . true ;
83-
8482 sinon . assert . calledWithMatch ( spy , {
8583 view : toolbar ,
86- balloonClassName : 'ck-toolbar-container ck-editor-toolbar-container '
84+ balloonClassName : 'ck-toolbar-container'
8785 } ) ;
8886 } ) ;
8987 } ) ;
You can’t perform that action at this time.
0 commit comments