Commit 9c83c6b6 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Edition d'un template : ajout du bouton permettant de passer en mode...

Edition d'un template : ajout du bouton permettant de passer en mode modification du code source HTML.
parent 0bf70e04
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -51,8 +51,8 @@ $canTemplate = $this->isAllowed(DocumenttemplatePrivileges::getResourceId(Docume
        tinymce.init({
            selector: '.description',
            menubar: false,
            plugins: 'lists template link',
            toolbar: 'newdocument undo redo | bold italic | bullist numlist | link ',
            plugins: 'lists template link code',
            toolbar: 'newdocument undo redo | bold italic | bullist numlist | link | code',
            resize: true,
            language: 'fr_FR',
            entity_encoding: "raw",
@@ -90,12 +90,12 @@ $canTemplate = $this->isAllowed(DocumenttemplatePrivileges::getResourceId(Docume
        tinymce.init({
            selector: '.corps',
            menubar: false,
            toolbar: 'newdocument undo redo | bold italic underline | numlist bullist table link | alignjustify alignleft alignright aligncenter | formatselect template',
            toolbar: 'newdocument undo redo | bold italic underline | numlist bullist table link | alignjustify alignleft alignright aligncenter | formatselect template | code',
            block_formats: 'Normal=p;Titre 1=h1;Titre 2=h2;Titre 3=h3',
            resize: true,
            language: 'fr_FR',
            entity_encoding: "raw",
            plugins: 'lists template table link',
            plugins: 'lists template table link code',
            templates: macros,
            statusbar: true,
            browser_spellcheck: true,