diff --git a/bl-kernel/admin/views/edit-content.php b/bl-kernel/admin/views/edit-content.php index bfbbbd3a..9cf58452 100644 --- a/bl-kernel/admin/views/edit-content.php +++ b/bl-kernel/admin/views/edit-content.php @@ -347,7 +347,7 @@ echo Bootstrap::formOpen(array( -
contentRaw(false) ?>
+ diff --git a/bl-kernel/admin/views/new-content.php b/bl-kernel/admin/views/new-content.php index f3958ec1..87f7e49e 100644 --- a/bl-kernel/admin/views/new-content.php +++ b/bl-kernel/admin/views/new-content.php @@ -318,7 +318,7 @@ echo Bootstrap::formOpen(array( -
+ diff --git a/bl-plugins/simplemde/plugin.php b/bl-plugins/simplemde/plugin.php index 84226e46..e4dc79bd 100644 --- a/bl-plugins/simplemde/plugin.php +++ b/bl-plugins/simplemde/plugin.php @@ -89,10 +89,7 @@ class pluginsimpleMDE extends Plugin { }'.PHP_EOL; $html .= '$(document).ready(function() { '.PHP_EOL; - $html .= ' - var currentContent = $( "#jseditor" ).html(); - $( "#jseditor" ).replaceWith( "" ); - simplemde = new SimpleMDE({ + $html .= 'simplemde = new SimpleMDE({ element: document.getElementById("jseditor"), status: false, toolbarTips: true,