diff --git a/lineheight/plugin.js b/lineheight/plugin.js index 0cdca93..4eec9c3 100644 --- a/lineheight/plugin.js +++ b/lineheight/plugin.js @@ -11,17 +11,17 @@ styles: { 'line-height': '%value' } } }); - - editor.ui.registry.addIcon( - 'line-height', - ` - - - - ` - ); }); + editor.ui.registry.addIcon( + 'line-height', + ` + + + + ` + ); + editor.ui.registry.addMenuButton('lineheightselect', { tooltip: 'Line height', icon: 'line-height',