Integration between widgets and CKEDITOR.style #1566
Labels
changelog:api
A changelog entry should be put in the API section of the changelog.
plugin:widget
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
type:feature
A feature request.
Milestone
Are you reporting a feature request or a bug?
Feature request
We have special class for widget styles,
CKEDITOR.style.customHandlers.widget
, however it doesn't contain whole functionality of basicCKEDITOR.style
and it's limited only to operating on classes.It's caused by the fact that internally it uses widget methods to apply and remove styles:
CKEDITOR.plugins.widget#applyStyle
CKEDITOR.plugins.widget#removeStyle
Such subclass of
CKEDITOR.style
should support all ways to add styles, especially inline styles.Example: https://jsfiddle.net/qwopws2b/
Only style defined by class is applied, inline styles (font size) are not added.
The text was updated successfully, but these errors were encountered: