355
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The definitive place for issues is of course [https://bugzilla.mozilla.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&content=Bespin Bugzilla] but for large concerns we wanted a place for people to see that we have been thinking about them. | The definitive place for issues is of course [https://bugzilla.mozilla.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&content=Bespin Bugzilla] but for large concerns we wanted a place for people to see that we have been thinking about them. | ||
==== Why doesn't Bespin support i18n well? ==== | |||
This is something we very much want to fix. Unfortunately it isn't trivial. We have a couple of key issues right now: | |||
1. editor.js limits the characters that we allow through: | |||
// Only allow ascii through | |||
if ((e.charCode >= 32) && (e.charCode <= 126)) { | |||
args.newchar = String.fromCharCode(e.charCode); | |||
actions.insertCharacter(args); | |||
} | |||
2. keys.js has an opt-in approach where we specify what we allow through to the browser versus eat up. | |||
if (e.metaKey || e.altKey) { // Apple or Alt key | |||
if ([Key.K, Key.L, Key.N, Key.O, Key.T, Key.W, Key.PLUS, Key.MINUS, Key.TILDE, | |||
Key.ZERO, Key.ONE, Key.TWO, Key.THREE, Key.FOUR, Key.FIVE, Key.SIX, Key.SEVEN, Key.EIGHT, Key.NINE].include(e.keyCode)) { | |||
return true; | |||
} | |||
} | |||
This ties into the next issue... | |||
==== I am having strange issues with my key bindings ==== | |||
Key binding that works across different browsers, platforms (operating systems) and country settings is hard. | |||
For example, we have seen issues where for some people hitting backspace in Chrome causes a back command to fire, even though we are trapping that code. | |||
We realize that we need to abstract our current key binding system to branch off for various platforms. | |||
If you run into problems, we want to hear from you. What works best is if you can try the key combination that you are using in the [http://unixpapa.com/js/testkey.html Keycode tester]. This way we will know exactly what is coming through. | |||
==== Why is copy and paste not working with the system clipboard? ==== | ==== Why is copy and paste not working with the system clipboard? ==== |
edits