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

$block wildcard resolves into a superset of the actual $block tags

$
0
0

Problem/Motivation

#3260869: Resolve mismatch between <$block> interpretation by CKEditor 5 and Drupal resolves the <$block> wildcard based on incorrect list of tags. The good thing is that the current list should be a superset of what it actual should resolve into. However, the list that it should resolve into is significantly smaller, and for that reason we should update the list.

Proposed resolution

Come up with a shorter list of tags <$block> should resolve into. This can be hardcoded based on all CKEditor 5 core plugins. Potentially rename <$block> to something less confusing.

Remaining tasks

  1. Come up with a shorter list of tags <$block> should resolve into. This can be hardcoded based on all CKEditor 5 core plugins
  2. Update test assertions to use tags listed on the new list
  3. Discuss if we want to continue <$block> as the wildcard name since it's not tied into block level HTML elements
  4. Open follow-up for providing an API to extend the wildcard tags so that contrib modules can provide additional tags that should be resolved from a wildcard

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 291721

Trending Articles



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