From 118b6ce14069200eff9ee38abb23fc6231e15be2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 12 Dec 2017 03:10:54 +0100 Subject: [PATCH] Code comment --- htdocs/website/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/website/index.php b/htdocs/website/index.php index ff9ff6fcc62..d84c8fec11b 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -2023,6 +2023,9 @@ if ($action == 'preview' || $action == 'createfromclone' || $action == 'createpa $out.= $objectpage->htmlheader."\n"; $out.=''."\n"; + // Do not enable the contenteditable when page was grabbed, ckeditor is removing span and adding borders, + // so editable will be available from container created from scratch + //$out.='
grabbed_from ? ' contenteditable="true"' : '').'>'."\n"; $out.='
'."\n"; $out.=dolWebsiteReplacementOfLinks($object, $objectpage->content)."\n";