-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EZP-31137: Fixed styles dropdown when custom ones are in use for RTE #1217
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm afraid it's not that simple.
I raised this during the development and added a comment in the CS ticket.
Yes, it seems about right - from what I've understood it was done on purpose this way, to prevent unnecessary data attributes to be left after switching to one of the default styles. Couldn't we remove those attributes just before changing the style to the custom one as shown in 5aa0f25? |
src/bundle/Resources/public/js/alloyeditor/src/buttons/ez-btn-styleslistitem.js
Show resolved
Hide resolved
Could you merge it up? |
@barw4 can you also prepare PR for ezplatform-richtext for master? |
@dew326 should be done by tomorrow |
ez-custom-style.js for alloy editor was overriding base config styles by filtering out default styles unnecessarily if custom styles were in use.
Checklist:
$ composer fix-cs
)