ckeditor/plugins/crossreference/plugin.js
changeset 5 c925ae656709
parent 4 40e26009689c
     1.1 --- a/ckeditor/plugins/crossreference/plugin.js	Sat Dec 17 03:31:51 2016 +0300
     1.2 +++ b/ckeditor/plugins/crossreference/plugin.js	Wed Dec 21 17:20:19 2016 +0300
     1.3 @@ -189,6 +189,15 @@
     1.4  				}
     1.5  			}
     1.6  		});
     1.7 +		
     1.8 +		// keystrokes
     1.9 +		
    1.10 +		editor.setKeystroke(CKEDITOR.CTRL + CKEDITOR.SHIFT + 65, anchorDialogCmdName);
    1.11 +		editor.setKeystroke(CKEDITOR.CTRL + CKEDITOR.SHIFT + 76, linkDialogCmdName);
    1.12 +		editor.setKeystroke(CKEDITOR.CTRL + CKEDITOR.ALT + 85, updateCmdName);
    1.13 +		
    1.14 +		// double click
    1.15 +		
    1.16  		editor.on('doubleclick', function(evt) {
    1.17  			if (evt.data.element && !evt.data.element.isReadOnly() && evt.data.element.getName() === 'a' 
    1.18  					&& evt.data.element.hasAttribute('cross-reference')) {