• Resolved krille83

    (@krille83)


    Hi!

    I’m working with this plugin to be able to add and reorder buttons in the toolbar. But i can’t make it look the way i want… I want to be able to use the default TinyMCE 5 icons, and add line | separators between some buttons. How do i do that?

    Basicly, i want to be able to use this configuration with the default TinyMCE 5 “theme”:

    tinymce.init({
    	plugins: "a11ychecker, autosave, tinycomments, directionality, link, linkchecker, powerpaste, preview, searchreplace, toc, table, wordcount, code, lists",
    	tinycomments_mode: 'embedded',
    	tinycomments_author: 'USERNAME',
    	toolbar: "undo redo | styleselect | bold italic strikethrough underline forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link showcomments removeformat searchreplace preview code",
    	style_formats: [
    		My-style-formats-here
        ]
    });

    I can edit this in the plugin code also, if that is the only way to do it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrew Ozz

    (@azaozz)

    WordPress still includes TinyMCE 4.x and there are no plans for now to upgrade to TinyMCE 5.x (as a lot of existing plugins will fail).

    You can still add separators to the menu in 4.x. In WP they are disabled with CSS only, in wp-includes/css/editor.css stylesheet. To re-enable them, either dequeue that file or make a new one that overrides it and load it from a small WP plugin.

    • This reply was modified 7 years ago by Andrew Ozz.
    Plugin Author Andrew Ozz

    (@azaozz)

    No response in about two months. Assuming this was fixed or a workaround was found 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Default TinyMCE 5 icons? Adding | separator?’ is closed to new replies.