Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296210

Document <li> and <td> edge cases in \Drupal\ckeditor5\HTMLRestrictions::getTextContainerElementList

$
0
0

Problem/Motivation

\Drupal\ckeditor5\HTMLRestrictions::getTextContainerElementList provides list of text-container elements. On top of the elements included in the list, <td> and <li> are able to act as text-container elements in the sense that text can be rendered inside the element without wrapping the text with a <p> or <div>. However, these elements are not able to render attributes usually rendered on text-container elements. For this reason we should not consider them as text-container elements.

Proposed resolution

Document the <td> and <li> that are special case text-containers in \Drupal\ckeditor5\HTMLRestrictions::getTextContainerElementList.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 296210

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>