Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
2 files
+ 43
1
Compare changes
  • Side-by-side
  • Inline
Files
2
  • a1244cef
    Issue #3273527 by joevagyok, Wim Leers: Upgrade path never configures the... · a1244cef
    Alex Pott authored
    Issue #3273527 by joevagyok, Wim Leers: Upgrade path never configures the ckeditor5_heading plugin to allow <h1>
@@ -216,7 +216,7 @@ public function computeCKEditor5PluginSubsetConfiguration(string $cke5_plugin_id
@@ -216,7 +216,7 @@ public function computeCKEditor5PluginSubsetConfiguration(string $cke5_plugin_id
}
}
// Otherwise, only enable headings that allowed by the restrictions.
// Otherwise, only enable headings that allowed by the restrictions.
$configuration = [];
$configuration = [];
foreach (range(2, 6) as $index) {
foreach (range(1, 6) as $index) {
// Merely checking the existence of the array key is sufficient; this
// Merely checking the existence of the array key is sufficient; this
// plugin does not set or need any additional attributes.
// plugin does not set or need any additional attributes.
// @see \Drupal\filter\Plugin\FilterInterface::getHTMLRestrictions()
// @see \Drupal\filter\Plugin\FilterInterface::getHTMLRestrictions()
Loading