To test:
1 - Apply patch
2 - Open advanced cataloging editor
3 - Try using Alt+P and Alt+C and note symbols are added
4 - Save record and ensure symbols are saved
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
}
var _editorKeys = {
+ 'Alt-C': function( cm ) {
+ cm.replaceRange( '©', cm.getCursor() );
+ },
+
+ 'Alt-P': function( cm ) {
+ cm.replaceRange( '℗', cm.getCursor() );
+ },
+
Enter: function( cm ) {
var cursor = cm.getCursor();
cm.replaceRange( '\n', { line: cursor.line }, null, 'marcAware' );