@@ -185,7 +185,7 @@ export default class BalloonToolbar extends Plugin {
toolbarView.extendTemplate( {
attributes: {
- class: [ 'ck-toolbar_floating' ]
+ class: [ 'ck-toolbar_floating', 'ck-balloon-toolbar_min-width' ]
}
} );
@@ -51,4 +51,13 @@
display: none;
+
+ /* Balloon Toolbar
+ *
+ * This class can be used to set a different min-width for the balloon toolbar.
+ * NOTE: It can also overrule a width and max-width of the balloon toolbar if it will be set with a higher value.
+ */
+ &.ck-balloon-toolbar_min-width {
+ min-width: 180px;
+ }