[Koha-bugs] [Bug 22584] Add YAML support for Codemirror

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Apr 14 12:43:41 CEST 2019


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

Michal Denar <black23 at gmail.com> changed:

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

--- Comment #4 from Michal Denar <black23 at gmail.com> ---
Created attachment 87944
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=87944&action=edit
Bug 22584: Add YAML support for Codemirror

This patch adds the dependencies required to provide YAML syntax
highlighting in CodeMirror text areas. The OpacHiddenItems system
preference configuration is updated to use a "text/x-yaml" CodeMirror
syntax.

To test, apply the patch and go to Administration -> System preferences
-> OPAC.

Expand the OpacHiddenItems preference and test that YAML-formatted text
entry has the correct syntax highlighting.

Signed-off-by: Michal Denar <black23 at gmail.com>

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

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


More information about the Koha-bugs mailing list