]> git.koha-community.org Git - koha.git/commit
Bug 24452: Advanced editor - show multiple spaces visually
authorOwen Leonard <oleonard@myacpl.org>
Fri, 17 Jan 2020 15:00:31 +0000 (15:00 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 6 Feb 2020 23:21:13 +0000 (23:21 +0000)
commitf33f46e6cde96b996739cbcce02e98c0bb6a2ca0
tree82605e94a68214c5f1025b9f65dcf80981aad710
parentcaba8dafb820448aca877c86682c28ff97953f3b
Bug 24452: Advanced editor - show multiple spaces visually

This patch updates the JavaScript and CSS for the advanced MARC editor
so that multiple consecutive spaces within a line will be detected and
highlighted.

To test the EnableAdvancedCatalogingEditor system preference should be
enabled. Apply the patch and clear your browser cache if necessary.

 - Go to Cataloging -> Advanced editor.
 - On any text entry line (e.g. 245), enter some words with one, two,
   and more spaces in between them. When there are two or more spaces
   between words the spaces between the words should have a dotted red
   underline.
 - Remove the extra spaces and confirm that the dotted line disappears.

Signed-off-by: Cori Lynn Arnold <carnold@dgiinc.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-mode.js
koha-tmpl/intranet-tmpl/prog/css/cateditor.css