1

Topic: Remove the Shift-A Shortcut

I need to remove the keyboard shortcut SHIFT-A. I tried:
custom_shortcuts : false,
but it doesn't work.
These are my current options:

custom_shortcuts : false,
mode : "textareas",
theme : "advanced",
plugins : "lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
               
// Theme options
theme_advanced_buttons1 : "bold,italic,underline,|,bullist,numlist,|,link,unlink",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_resizing : false,

2

Re: Remove the Shift-A Shortcut

That was fixed in 3.5.4.1

3

Re: Remove the Shift-A Shortcut

I downloaded the latest version when I "installed" it.

Last edited by foxkj (2012-07-05 23:15:57)

4

Re: Remove the Shift-A Shortcut

I updated it, and still the Shift-A won't write a capitol A.

Last edited by foxkj (2012-07-07 07:01:29)

5

Re: Remove the Shift-A Shortcut

Is that reproducible at http://www.tinymce.com/tryit/full.php?

6

Re: Remove the Shift-A Shortcut

So that randomly started working today, but now the "onchange_callback" doesn't work. I'm getting an error: "Uncaught TypeError: Cannot call method 'apply' of undefined " when using the following coding:
onchange_callback : "myCustomOnChangeHandler",     //under the tinyMCE.init({ }) area
and
function myCustomOnChangeHandler(inst){
     alert ('hello');
}
but nothing happens. Any helps?

7

Re: Remove the Shift-A Shortcut

Probably was the cache :-)

Not really sure about the onchange_callback, seems to be working at http://fiddle.tinymce.com

You have other stuff/plugins running?

8

Re: Remove the Shift-A Shortcut

yeah, seems to work perfectly there. I'm also using jscolor, and  MSDropDown, jQuery Form, and jQueryDD. I removed each one, one by one, and it still is getting the same error (below).
I also tried removing that one line: onchange_callback, and it works. So it has to be something about that line.

Uncaught TypeError: Cannot call method 'apply' of undefined tiny_mce.js:1
k.create.execCallback tiny_mce.js:1
a.Editor.setupEvents tiny_mce.js:1
tinymce.create.dispatch tiny_mce.js:1
b.UndoManager.h.onKeyUp.add.n tiny_mce.js:1
tinymce.create.dispatch tiny_mce.js:1
b.UndoManager.l.add tiny_mce.js:1
d tiny_mce.js:1
b.UndoManager.h.onKeyUp.add.n tiny_mce.js:1
j tiny_mce.js:1
q.bind.z