Skip to content

Commit

Permalink
Merge pull request #1946 from TexasDigitalLibrary/1912-tinymce-link
Browse files Browse the repository at this point in the history
added link functionality to tinymce
  • Loading branch information
smutniak authored Jul 2, 2024
2 parents 48986a8 + 496f774 commit 4cb3b5d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/app/directives/lockingTextAreaDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 | code",
theme: "silver",
plugins: "autoresize",
plugins: "autoresize lists advlist link autolink code",
menubar: false,
statusbar: false,
image_advtab: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@
<!-- FRONT PAGE INSTRUCTIONS BEFORE BUTTON -->
<lockingtextarea
label="Front Page Instructions (before button)"
hint="These instructions are show on the front page of Vireo to all users. New lines are converted to paragraphs automatically."
hint="These instructions are shown on the front page of Vireo to all users. New lines are converted to paragraphs automatically."
scope-value="settings.configurable.lookAndFeel.front_page_instructions_before.value"
on-blur="updateConfiguration('lookAndFeel', 'front_page_instructions_before')"
key-down="confirmEdit(event, prop)">
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/app/views/directives/lockingTextArea.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h4>{{ label }}<div tooltip="{{hint}}"><span class="glyphicon glyphicon-info-sig
</a>

<p ng-if="!locked" ng-click="toggleLock()" class="hover-pointer">
<span class="glyphicon glyphicon-pencil"></span> 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.
<span class="glyphicon glyphicon-pencil"></span> This field is unlocked and may be edited. Leaving the editable area will save and re-lock the field.
</p>

<div ng-show="!locked">
Expand Down

0 comments on commit 4cb3b5d

Please sign in to comment.