[ 3 posts ]

Alex

  • Username: oleczek
  • Joined: Fri Mar 13, 2009 2:38 am
  • Posts: 2
  • IRC: oleczek
  • Offline
  • Profile
Tags:

Keyboard shortcuts / Polish

Post Posted: Fri Mar 13, 2009 2:49 am
+0-
Hello

I have a problem which can be seen in YUI Rich Editor when user wants to input "right alt + z" letter (which is http://en.wikipedia.org/wiki/Ż ). Cursor flips somewhat like page up/down?

Tested OS is Windows xp, IE and Firefox3.
Yui 2.6.0 as a drupal6 newest module.

I wonder if it is possible to add some code so I can stop this behavior (overriding?) since I use Yui libraries remotely (can't edit them). This would be nice.

Best regards,
Alex

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile
Tags:

Re: Keyboard shortcuts / Polish

Post Posted: Fri Mar 13, 2009 8:45 am
+0-
Alex --

You can use the Editor HTML Event Mapping events to capture the keys and stop the event:
http://developer.yahoo.com/yui/editor/#events

Does that help?

Alex

  • Username: oleczek
  • Joined: Fri Mar 13, 2009 2:38 am
  • Posts: 2
  • IRC: oleczek
  • Offline
  • Profile
Tags:

Re: Keyboard shortcuts / Polish

Post Posted: Thu Jun 04, 2009 8:28 am
+0-
Hello.

Thank you for your suggestion.

The problem was de facto missing remote files since drupal plugin changed location of yui or due to my fault. Anyway in admin/settings/yui/ there should be url http://yui.yahooapis.com/2.5.0, not 2.6.0 (not all files load and editor doesn't work as should).

It can be seen in firebug / network, that there are 404s.

This is applicable to drupal-6.x modules: yui 6.x-1.x-dev (or less) and yui editor 6.x-2.x-dev.

Best regards and thank you!
Alex
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum