From 71bad4a6a109ec57c4e6e84c544c6367bc1a9097 Mon Sep 17 00:00:00 2001 From: Kamil Date: Fri, 5 Jan 2024 11:52:49 +0100 Subject: [PATCH] Update WysiwygWithMetadata.php --- src/Document/Areabrick/WysiwygWithMetadata.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Document/Areabrick/WysiwygWithMetadata.php b/src/Document/Areabrick/WysiwygWithMetadata.php index b67c154..e65e15b 100644 --- a/src/Document/Areabrick/WysiwygWithMetadata.php +++ b/src/Document/Areabrick/WysiwygWithMetadata.php @@ -56,7 +56,7 @@ public function action(Info $info): ?\Symfony\Component\HttpFoundation\Response { $lang = $info->getDocument()->getProperty("language"); - $tag = $this->getDocumentTag($info->getDocument(), self::TAG_TYPE, self::TAG_NAME); + $tag = $this->getDocumentEditable($info->getDocument(), self::TAG_TYPE, self::TAG_NAME); if (!$tag instanceof Tag) { return null; }