From 2515d457d59f961fd099831a48f3adc0c643b610 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 16 Aug 2021 11:52:26 +0200 Subject: [PATCH] * Knowledge Base: fix pasting/dragging image into htmlarea editor does not work --- api/src/Html.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/src/Html.php b/api/src/Html.php index 74e9194cc8..4acfa409c6 100644 --- a/api/src/Html.php +++ b/api/src/Html.php @@ -513,6 +513,9 @@ tinymce.init({ language: language_code["'. $GLOBALS['egw_info']['user']['preferences']['common']['lang'].'"], language_url: egw.webserverUrl+"/api/js/tinymce/langs/"+language_code[egw.preference("lang", "common")]+".js", browser_spellcheck: true, + images_upload_url: imageUpload, + paste_data_images: true, + paste_filter_drop: true, contextmenu: false, file_picker_callback: function(_callback, _value, _meta){ var callback = _callback;