Remove box styles from WYSIWYG?

Hi devs,

Users don’t understand the difference between box styles and box macros:

See the difference explained at Loading...

I’d like to propose that we remove box styles from the style menu.

Screenshot 2024-03-27 at 14.56.08

The box macros are already listed under well-know macros and thus they’re not hard to find:

Screenshot 2024-03-27 at 14.56.53

WDYT?

Thanks

2 Likes

+1. Now as I explained in this post this menu is the only way to revert applying these box styles if you’ve already used them (and not used block content inside the box). So I think we should at least have an easy to way to get them back in case somebody used them extensively.

+1

+1

+1

The list of styles is configurable. See Class Config (CKEDITOR.config) | CKEditor 4 API docs . Defaults to xwiki-platform/xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-webjar/src/main/webjar/styles.js at master · xwiki/xwiki-platform · GitHub .

+1 , especially since the introduction of the / commands

image

gee, I formatted my entire Wiki with box styles.

Thanks everyone, I’ve created Loading...

1 Like