]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 13 Feb 2020 20:53:59 +0000 (20:53 +0000)
commit9308a03c21642584f97166444324b574a473ac9b
tree489c0ea4d6515c93d5d94d2c34c31ee53827dcda
parente9da9462a5feba15a6ac9ef83ab69ceded9f590c
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>
(cherry picked from commit f33f46e6cde96b996739cbcce02e98c0bb6a2ca0)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-mode.js
koha-tmpl/intranet-tmpl/prog/css/cateditor.css