Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#11780 closed Bug (fixed)

Filter removes all classes/styles/attributes when some ACR allows all and some DACR uses wildcard

Reported by: Piotrek Koszuliński Owned by: Piotrek Koszuliński
Priority: Normal Milestone: CKEditor 4.4.0
Component: General Version: 4.4.0
Keywords: Drupal Cc: wim.leers@…

Description

  1. Setup editor with settings like:
    allowedContent: 'p[*]',
    disallowedContent: 'p[on*]'
    
  2. Load: <p data-x="1" onx="1">foo</p>
  3. Both attributes are lost when data-x should be preserved.

Change History (5)

comment:1 Changed 6 years ago by Piotrek Koszuliński

Owner: set to Piotrek Koszuliński
Status: newreview

comment:2 Changed 6 years ago by Piotrek Koszuliński

Pushed branch:t/11780 on dev and tests.

comment:3 Changed 6 years ago by Piotr Jasiun

Status: reviewreview_passed

R+ with small commit in tests.

comment:4 Changed 6 years ago by Piotrek Koszuliński

Resolution: fixed
Status: review_passedclosed

Fixed on major with git:fe3f0e2 on dev and a0c940c on tests.

comment:5 Changed 6 years ago by Wim Leers

Cc: wim.leers@… added
Keywords: Drupal added

Fix confirmed. I can no longer reproduce this.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy