From 1258377ed81edc492f1b7fb79cf76f18ab65a7fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dufraisse?= Date: Sat, 11 Mar 2023 00:05:57 +0100 Subject: [PATCH] fix(canEdit): force to false temporarly --- PicoContentEditor.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PicoContentEditor.php b/PicoContentEditor.php index d00a788..55ce44b 100644 --- a/PicoContentEditor.php +++ b/PicoContentEditor.php @@ -120,7 +120,8 @@ class PicoContentEditor extends AbstractPicoPlugin implements ApiAware return; } - $twigVariables['canEdit'] = true; + // $twigVariables['canEdit'] = true; + $twigVariables['canEdit'] = false; $twigVariables['dataLang'] = $this->editor::assets($this, "{$this->getPluginsDir()}PicoContentEditor"); } /**