Opened 8 years ago

Closed 8 years ago

#14328 closed Bug (invalid)

"Strike" button vs. ACF

Reported by: santaclaus21 Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version:
Keywords: Cc:


Steps to reproduce

  1. toolbar (...) ,['Bold','Italic','Underline','Strike','Superscript','-','RemoveSpan','RemoveFormat'], (...)
  1. config.allowedContent = 'script(*)[*]{*}; *(*); td th[colspan]{border,border-width,vertical-align,width}; table[align, cellpadding, cellspacing, border]{border,border-width,width,margin}; img[alt,!src, border, title, contenteditable]{width,height,float,margin,margin-left,margin-right,margin-top,margin-bottom,border-width}; span iframe embed object param form input select textarea[*]; article{display}; div sup sub header footer section article span table tr td th ol li p h1 h2 h3 h4 h5{font-weight,text-align,text-decoration}; a[*]{font-weight,text-decoration}; *[id]; *[contenteditable,data-animspeedid,data-autostartid,data-openonclickid,data-pictheightid,data-showcontrolid,data-showtitleid,data-slideshowid,data-speedid,data-transitiontypeid]; b i u div blockquote strong hr th em ol ul;';
  1. Strike button is not present (but there is still "text-decoration" in lot of tags). W3 is: text-decoration: line-through;

Expected result

Stike button should be shown.

Actual result

Not showing STRIKE :) The way to make it visible is adding to ACF rule: strike(*)[*]{*};

Other details (browser, OS, CKEditor version, installed plugins)

latest Chrome (47...)

Change History (1)

comment:1 Changed 8 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.5.6

The strike is represented either by s tag strike tag or span with text decoration -!/api/CKEDITOR.config-cfg-coreStyles_strike.

None of definitions you have covers any of these three options.

Also a second thing to point out is that it would be a bug if just by placing a single style would unlock every plugin which is using it.

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