Koha/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing
Nick Clemens 3b0ab38559
Bug 17179: Add keyboard shortcuts to repeat (duplicate) a field, and cut text
This patchset introduces an internal clipboard to the advanced editor
and provides some new functionality to make use of this, default shortcuts are provided
but can be edited per bug 21411

The default shortcuts for new/changed functions are:

Changed:
Ctrl-X:       Now cuts a line into the clipboard area
Shift-Ctrl-X: Now cuts current subfield into clipboard area

Added:
Ctrl-C:       Copies a line into the clipboard area
Shift-Ctrl-C: Copies current subfield into clipboard area
Ctrl-P:       Pastes the selected item from the clipboard at cursor
Ctrl-I:       Copies the current line and inserts onto a new line below

To test:
Verify all functionality above and confirm it behaves as expected

Note:
Ctrl-v pastes from the system clipboard - codemirror does not have
access and this is why we use our "Clipboard"

For browser cut/paste please use mouse right click or context menus

Ctrl-P can be accessed as print by focusing outside the editor window

Signed-off-by: Alex Sassmannshausen <alex@komputilo.eu>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-10-09 14:36:09 +01:00
..
value_builder Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
addbiblio.tt Bug 22768: Global search form keyboard navigation broken 2019-07-15 12:45:27 +01:00
addbooks.tt Bug 23339: (follow-up) Markup comments and corrections 2019-08-05 16:26:51 +01:00
additem.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
editor.tt Bug 17179: Add keyboard shortcuts to repeat (duplicate) a field, and cut text 2019-10-09 14:36:09 +01:00
linkitem.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
merge.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
moveitem.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
z3950_auth_search.tt Bug 23226: Remove type attribute from script tags: Cataloging 2019-07-26 16:23:03 +01:00
z3950_search.tt Bug 23441: Export should not include the 'actions' column in Z3950 results. 2019-08-13 11:24:50 +01:00