[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
Wed May 20 18:06:30 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22660

Lucas Gass <lucas at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #105129|0                           |1
        is obsolete|                            |

--- Comment #12 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 105158
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105158&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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list