Formatting toolbar

It doesn’t seem like they have a better one still, but with CSS now you could apply a transform: scaleX(-1) to flip it 180 for a sneaky hack.

This is 5 years too late, just coming here to thank you for keeping this plugin updated and being so responsive to discussions about customizing it. I’ll probably fork it to add some of my own tweaks and codes in the future, just wanted to share my current thoughts on it.

5 Likes

Didn’t think of that, that’s a good idea

2 Likes

Is it possible to customize the toolbar based on role?

i.e. super minimal formatting options for most users but some more advanced options for admins, mods and content creators.

It should be doable. In the body class, a few groups class are added

By default you can hide buttons

.d-editor-button-bar .center_ui_button {
    display: none;
}

And then with each group, show them

.group-moderators .d-editor-button-bar .center_ui_button {
    display: inline-flex;
}

But you need to be sure these groups are added in the body class (I assume it’s set in the security tab in each category settings)

1 Like