Problem/Motivation
On the page /admin/config/content/formats/manage/_your_format_name_
you can configure the ALLOWED HTML TAGS that can be used in CKEDITOR.
I have found that while editing the configuration on this page, when you edit the values, something is swapping out the correct values, for completely wrong values.
This is an example of whats correct :
<em> <strong> <cite> <blockquote> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <drupal-media data-entity-type data-entity-uuid> <a href hreflang data-entity-substitution data-entity-type data-entity-uuid title target rel class="anchor button-box"> <img src alt data-entity-type data-entity-uuid data-align data-caption> <p class="eyebrow section-label small-text"> <drupal-entity data-entity-type data-entity-uuid data-entity-embed-display data-entity-embed-display-settings data-align data-caption data-embed-button data-langcode alt title> <drupal-media data-entity-type data-entity-uuid data-view-mode data-align data-caption alt title>
This is what it somehow gets replaced with while changing configuration on this page.
<0> <1> <2> <3> <4> <5 type> <6 start type> <7> <8> <9> <10> <11 id> <12 id> <13 id> <14 id> <15 id> <16 data-entity-type data-entity-uuid data-view-mode data-align data-caption alt title> <17 href hreflang data-entity-substitution data-entity-type data-entity-uuid title target rel class="anchor button-box"> <18 src alt data-entity-type data-entity-uuid data-align data-caption> <19 class="eyebrow section-label small-text"> <20 data-entity-type data-entity-uuid data-entity-embed-display data-entity-embed-display-settings data-align data-caption data-embed-button data-langcode alt title> <21> <strong> <em> <blockquote> <p class="eyebrow small-text"> <h2> <h3> <h4> <h5> <h6> <a href class="anchor button-box"> <span class="section-label"> <ul> <li> <ol> <img src alt data-entity-type data-entity-uuid data-align data-caption> <drupal-media data-entity-type data-entity-uuid data-view-mode data-align data-caption alt title> <drupal-entity data-entity-type data-entity-uuid data-entity-embed-display data-entity-embed-display-settings data-align data-caption data-embed-button data-langcode alt title>
Steps to reproduce
Enable CKEditor, and go through the normal steps to limit the allowed HTML tags.
This appears to start acting up when I change the values in the "STYLES DROP DOWN" interface while setting up the styles.
Here's a screenshot of what my config looks like.