diff --git a/bug.php b/bug.php
index c5c344c30..41ec0537f 100644
--- a/bug.php
+++ b/bug.php
@@ -132,7 +132,7 @@ echo '
- {[ "type": "textarea", "label": "'.tr('Descrizione del bug').'", "name": "body" ]}
+ {[ "type": "ckeditor", "label": "'.tr('Descrizione del bug').'", "name": "body" ]}
@@ -159,13 +159,6 @@ echo '
var firstFocus = 1;
- CKEDITOR.replace("body", {
- toolbar: globals.ckeditorToolbar,
- language: globals.locale,
- scayt_autoStartup: true,
- scayt_sLang: globals.full_locale
- });
-
CKEDITOR.instances.body.on("key", function() {
setTimeout(function(){
if(CKEDITOR.instances.body.getData() == ""){
diff --git a/mail.php b/mail.php
index 915cd6897..f42526ec0 100644
--- a/mail.php
+++ b/mail.php
@@ -114,7 +114,7 @@ echo '
- {[ "type": "textarea", "label": "'.tr('Contenuto').'", "name": "body", "value": '.json_encode($body).' ]}
+ {[ "type": "ckeditor", "label": "'.tr('Contenuto').'", "name": "body", "value": '.json_encode($body).' ]}
';
@@ -135,9 +135,6 @@ echo '
';
-echo '
-';
-
echo '
';
-
?>