ckeditor / ckeditor4

The best enterprise-grade WYSIWYG editor. Fully customizable with countless features and plugins.
https://ckeditor.com/ckeditor-4
Other
5.8k stars 2.48k forks source link

Introduce configuration setting for Div Container plugin to use different styles set file than Styles Dropdown #5040

Open jswiderski opened 2 years ago

jswiderski commented 2 years ago

Type of report

Feature request

Provide description of the new feature

Currently Div Container plugin uses same styles set file as the Styled Dropdown plugin -https://github.com/ckeditor/ckeditor4/blob/master/plugins/div/dialogs/div.js#L375-L376. There might be cases where users want to use different div styling for these two features thus it would be a good idea to provide configuration property dedicated for the Div Container plugin.

camerongreen commented 2 years ago

+1 for this feature.

We are using this plugin to apply styles that don't work via the styles dropdown, as we want the styles to wrap whatever the user has selected rather than applying the styles individually.

At the moment it looks like we have to choose between the styles dropdown and this plugin.