[Koha-bugs] [Bug 22660] Allow use of CodeMirror for editing HTML in the news editor
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 30 00:54:12 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22660
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #107361|0 |1
is obsolete| |
--- Comment #21 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 107554
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=107554&action=edit
Bug 22660: Add system pref to allow switching of editors in News Tool
This patch adds a system preference called 'NewsToolEditor' which allows for
the choice between TinyMCE and CodeMirror in the News Feature.
TEST PLAN:
1. Apply patch and run updatedatabase
2. Go to Tools > News and make a new entry or edit an existing News item.
3. When you initially load you should gte the TinyMCE editor (WYSIWYG)
4. Search for the NewsToolEditor system preference and switch to CodeMirror.
5. Reload your News item and now you should see the CodeMirror editor.
6. Try saving content with both and maki sure it works.
7. Try adding some different HTML tags in CodeMirror mode, saving, and making
sure it looks right when you switch back to TinyMCE
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Lisette Scheer <lisetteslatah at gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list