From f0c48d23fee969604c27fe5bbb6312e367d5ed48 Mon Sep 17 00:00:00 2001 From: wrongecho Date: Wed, 15 Oct 2025 15:27:56 +0100 Subject: [PATCH] Add html code plugin + button to tinymceticket --- js/app.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index c3ce421d..e8e6b0fe 100644 --- a/js/app.js +++ b/js/app.js @@ -169,14 +169,15 @@ $(document).ready(function() { { name: 'lists', items: ['bullist', 'numlist'] }, { name: 'indentation', items: ['outdent', 'indent'] }, { name: 'ai', items: ['reword', 'undo', 'redo'] }, - { name: 'custom', items: ['redactButton'] } // Add custom redact button to toolbar + { name: 'custom', items: ['redactButton'] }, // Add custom redact button to toolbar + { name: 'code', items: ['code'] }, ], mobile: { menubar: false, toolbar: 'bold italic styles' }, convert_urls: false, - plugins: 'link image lists table code codesample fullscreen autoresize', + plugins: 'link image lists table code codesample fullscreen autoresize code', license_key: 'gpl', setup: function(editor) { var rewordButtonApi;