Created
December 5, 2023 05:47
-
-
Save slattery/2af539692e4f281b72a148fcc7e55ba3 to your computer and use it in GitHub Desktop.
ckeditor_link_styles_decorator_update_5_v29_1.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Plugin/CKEditor5Plugin/LinkStyles.php b/src/Plugin/CKEditor5Plugin/LinkStyles.php | |
index 32b5bc6..1d56208 100644 | |
--- a/src/Plugin/CKEditor5Plugin/LinkStyles.php | |
+++ b/src/Plugin/CKEditor5Plugin/LinkStyles.php | |
@@ -178,9 +178,7 @@ class LinkStyles extends CKEditor5PluginDefault implements CKEditor5PluginConfig | |
$config['link']['decorators'][] = [ | |
'mode' => 'manual', | |
'label' => $style['label'], | |
- 'attributes' => [ | |
- 'class' => implode(' ', $classes), | |
- ], | |
+ 'classes' => implode(' ', $classes), | |
]; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment