Opened 11 years ago

Closed 11 years ago

Last modified 11 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 11 years ago by Piotrek Koszuliński

Owner: set to Piotrek Koszuliński
Status: newreview

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

Pushed branch:t/11780 on dev and tests.

comment:3 Changed 11 years ago by Piotr Jasiun

Status: reviewreview_passed

R+ with small commit in tests.

comment:4 Changed 11 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 11 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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy