From 64c07fa331b88ee7a5c9d829a229eceb4286a425 Mon Sep 17 00:00:00 2001 From: Samit Khulve <36556-samit.310@users.noreply.drupalcode.org> Date: Tue, 19 Sep 2023 19:34:31 +0100 Subject: [PATCH] Issue #3351007 by nick@sirclickalot.co.uk, samit.310@gmail.com: Not compatible with CKEditor 5? --- src/Plugin/Filter/EmptyParagraphKiller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/Filter/EmptyParagraphKiller.php b/src/Plugin/Filter/EmptyParagraphKiller.php index 37e49ae..854be94 100644 --- a/src/Plugin/Filter/EmptyParagraphKiller.php +++ b/src/Plugin/Filter/EmptyParagraphKiller.php @@ -10,7 +10,7 @@ use Drupal\filter\Plugin\FilterBase; * id = "emptyparagraphkiller", * title = @Translation("Empty Paragraph filter"), * description = @Translation("When entering more than one carriage return, only the first will be honored."), - * type = Drupal\filter\Plugin\FilterInterface::TYPE_MARKUP_LANGUAGE, + * type = Drupal\filter\Plugin\FilterInterface::TYPE_TRANSFORM_REVERSIBLE, * ) */ class EmptyParagraphKiller extends FilterBase { -- GitLab