1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Miglioramento della gestione della libreria JS CKEditor

This commit is contained in:
Thomas Zilio
2017-09-22 14:37:18 +02:00
parent 60612585b1
commit 28a67ea4b7
5 changed files with 15 additions and 14 deletions

View File

@@ -3,7 +3,7 @@
include_once __DIR__.'/../../core.php';
echo '
<script src="'.$rootdir.'/assets/dist/js/ckeditor.js"></script>';
<script src="'.$rootdir.'/assets/dist/js/ckeditor/ckeditor.js"></script>';
?>
<form action="" method="post" id="add-form">
@@ -77,11 +77,6 @@ echo '
<script>
$(document).ready(function(){
CKEDITOR.replace("body", {
toolbar: [
{ name: "document", items: [ "NewPage", "Preview", "-", "Templates" ] }, // Defines toolbar group with name (used to create voice label) and items in 3 subgroups
["Bold","Italic","Underline","Superscript","-","NumberedList","BulletedList","Outdent","Indent","Blockquote","-","Format",], // Defines toolbar group without name
]
});
CKEDITOR.replace("body");
});
</script>