@@ -, +, @@ content entry - At the top of the page there should be a split button. The dropdown option should offer the non-default editor. - If AdditionalContentsEditor is set to "text editor," clicking the "main" part of the button should take you to an entry page which uses the text editor. - The dropdown part of the button should say "New entry using WYSIWYG editor." - Switch the AdditionalContentsEditor preference and confirm that the button reflects the change. - Confirm that the individual "Edit" buttons for each existing content entry still works correctly according to the system preference. --- .../en/modules/tools/additional-contents.tt | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt @@ -7,7 +7,10 @@ [% INCLUDE 'doc-head-open.inc' %] Additional contents › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] -[% UNLESS ( wysiwyg ) %] +[% IF ( wysiwyg ) %] + [% SET editmode = "wysiwyg" %] +[% ELSE %] + [% SET editmode = "text" %] [% Asset.css("lib/codemirror/codemirror.css") | $raw %] [% Asset.css("lib/codemirror/lint.min.css") | $raw %]