Formatting toolbar

I also added the underline button.

The T button is the H (heading) button translated in french.

The img button is usefull with the float one, because the copy/paste of a image link won’t work with it.

If you want to hide some buttons, two solutions :

  • Add some css on admin/customize with a display: none for the buttons you want to hide.

Notice the .addimg_ui_button here, it indicates that the img button will be hidden :

#reply-control .d-editor-button-bar .addimg_ui_button {
        display: none;
    }

The other css class if you want to use them :

.underline_ui_button
.color_ui_button
.floatl_ui_button
.center_ui_button
.right_ui_button
.justify_ui_button

Another solution would be to fork the plugin and delete the parts you don’t want to use, but if you’re not used to github it’s more difficult

3 Likes