From 6b46c4a131dfd67468404cddb9c7ca17668c199a Mon Sep 17 00:00:00 2001 From: Christopher Starcher Date: Sat, 22 Jun 2024 08:04:12 -0600 Subject: [PATCH 1/2] added link functionality to tinymce --- src/main/webapp/app/directives/lockingTextAreaDirective.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/app/directives/lockingTextAreaDirective.js b/src/main/webapp/app/directives/lockingTextAreaDirective.js index 75608010e9..9eefd1e57e 100644 --- a/src/main/webapp/app/directives/lockingTextAreaDirective.js +++ b/src/main/webapp/app/directives/lockingTextAreaDirective.js @@ -56,9 +56,9 @@ vireo.directive("lockingtextarea", function ($timeout) { save(); }); }, - toolbar1: "formatselect bold italic underline | bullist numlist undo redo", + toolbar1: "formatselect bold italic underline | bullist numlist undo redo | link unlink", theme: "silver", - plugins: "autoresize", + plugins: "autoresize link autolink", menubar: false, statusbar: false, image_advtab: true, From 496f774f97a4b4ae7de121514c0e642d975e944f Mon Sep 17 00:00:00 2001 From: Christopher Starcher Date: Sun, 30 Jun 2024 14:53:36 -0500 Subject: [PATCH 2/2] added functionality and edited notes --- src/main/webapp/app/directives/lockingTextAreaDirective.js | 4 ++-- .../app/views/admin/settings/application/lookAndFeel.html | 2 +- src/main/webapp/app/views/directives/lockingTextArea.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/app/directives/lockingTextAreaDirective.js b/src/main/webapp/app/directives/lockingTextAreaDirective.js index 9eefd1e57e..c0125341c1 100644 --- a/src/main/webapp/app/directives/lockingTextAreaDirective.js +++ b/src/main/webapp/app/directives/lockingTextAreaDirective.js @@ -56,9 +56,9 @@ vireo.directive("lockingtextarea", function ($timeout) { save(); }); }, - toolbar1: "formatselect bold italic underline | bullist numlist undo redo | link unlink", + toolbar1: "formatselect bold italic underline | bullist numlist undo redo | link unlink | code", theme: "silver", - plugins: "autoresize link autolink", + plugins: "autoresize lists advlist link autolink code", menubar: false, statusbar: false, image_advtab: true, diff --git a/src/main/webapp/app/views/admin/settings/application/lookAndFeel.html b/src/main/webapp/app/views/admin/settings/application/lookAndFeel.html index e6f75524b1..eb930b0ee8 100644 --- a/src/main/webapp/app/views/admin/settings/application/lookAndFeel.html +++ b/src/main/webapp/app/views/admin/settings/application/lookAndFeel.html @@ -589,7 +589,7 @@ diff --git a/src/main/webapp/app/views/directives/lockingTextArea.html b/src/main/webapp/app/views/directives/lockingTextArea.html index 59127ee43a..7b0a509735 100644 --- a/src/main/webapp/app/views/directives/lockingTextArea.html +++ b/src/main/webapp/app/views/directives/lockingTextArea.html @@ -7,7 +7,7 @@

{{ label }}
- This field is unlocked and may be edited. Leaving the editable area will save and re-lock the field. Save and re-lock will occur after 5 seconds of inactivity after editing. + This field is unlocked and may be edited. Leaving the editable area will save and re-lock the field.