Forums / Cotonti / Extensions / Markitup hotkeys

SunChase
#1 2009-07-30 07:33
I'w just noticed that when on press something like ctrl+s(b,i,ect) the markitup types
[s][/s]([i][/i][b][/b])
.But there combinations are standart browser hotkeys.
Is there a way to manualy set these combinations for MarkItUP?
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
Trustmaster
#2 2009-07-30 15:13
Yes, they are set in plugins/markitup/js/set.js, e.g.:
{name: L.bold, className:'mBold', key:'B', openWith:'[b]', closeWith:'[/b]'}
Here key:'B' binds it to Ctrl+B
May the Source be with you!
SunChase
#3 2009-07-30 23:08
but is there a way to change the "ctrl" key to something else(like alt or shift)?
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
Trustmaster
#4 2009-07-30 23:54
I think it isn't, but I may be mistaken. Check out markItUp! original site.
May the Source be with you!
SunChase
#5 2009-07-31 00:22
found it....

[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity