Update Document details to use TinyMCE Readonly mode on display. Add Print Button. UI Updates etc

This commit is contained in:
johnnyq
2023-06-06 18:48:19 -04:00
parent c1ff4f6855
commit 1b0aaf4d27
4 changed files with 63 additions and 20 deletions

View File

@@ -42,6 +42,19 @@ tinymce.init({
plugins: 'link image lists table code codesample fullscreen autoresize',
});
// Initialize TinyMCE
tinymce.init({
selector: '.tinymcePreview',
resize: false,
promotion: false,
branding: false,
menubar: false,
toolbar: false,
statusbar: false,
readonly: false,
plugins: 'autoresize',
});
// DateTime
$('.datetimepicker').datetimepicker({
});