Opened 11 years ago

Last modified 10 years ago

#11503 confirmed New Feature

Further widgets integration with ACF — at Initial Version

Reported by: Marek Lewandowski Owned by:
Priority: Normal Milestone:
Component: General Version: 4.3
Keywords: Cc: wim.leers@…

Description

There are some cases that we want to prevent ACF from removing something, which may appear to be junk html.

Consider following UC for media embed plugin:
Gist uses spans with custom classes for syntax highlighting, for instance:

<div class="line" id="LC204">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span class="nb">document</span>
    <span class="p">.</span>
    <span class="nx">removeEventListener</span>
    <span class="p">(</span>
    <span class="s1">'DOMContentLoaded'</span>
    <span class="p">,</span> 
    <span class="nx">onReady</span>
    <span class="p">,</span> 
    <span class="kc">false</span> 
    <span class="p">);</span>
</div>

We want to keep classes for spans.

Change History (0)

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