You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure the editor to use the following custom ACF rules:
allowedContent: 'p ul{text-align};li'
Load the editor. The Justify tool bar buttons are available, which is expected because we have the "p ul{text-align}" rule.
Verify that the custom ACF rules are active using the JavaScript console:
5 .Create a list
Place the caret on the second item. The Justify buttons are still enabled. Click on the "Center" button from the tool bar.
Expected result
Justify plugin should prevent of applying justification on disallow elements. If ACF forbid to apply text-align style on given element, then plugin should be disabled on such element.
Actual result
The Justify plugin centers the second list item, thus generating invalid content from the point of view of the ACF.
The text was updated successfully, but these errors were encountered:
Are you reporting a feature or a bug?
Bug
Check if the issue is already reported
http://dev.ckeditor.com/ticket/16808
Provide detailed reproduction steps (if any)
5 .Create a list
Expected result
Justify plugin should prevent of applying justification on disallow elements. If ACF forbid to apply text-align style on given element, then plugin should be disabled on such element.
Actual result
The Justify plugin centers the second list item, thus generating invalid content from the point of view of the ACF.
The text was updated successfully, but these errors were encountered: