> Yes, the solution is to look for what AltGr button
> sends (Ctrl + Alt) and apply a check for that.
> SO, as a quick fix you can do the following to
> your htmlarea.js (NOTE: this update works in
> HTMLArea-3.0-beta, I haven't tried with the
> previous version that comes bundled in MidCOM.)
>
> Look for this function:
> HTMLArea.prototype._editorEvent = function(ev) {
>
> Fix the following line:
> if (keyEvent && ev.ctrlKey) {
>
> With:
>
> if (keyEvent && ev.ctrlKey && !ev.altKey) {
>
> So basically you check that if Alt-key (or AltGr) is down
> you won't let HTMLArea take over your keyboard actions.
>
> I'll update the HTMLArea version in MidCOM package
> as soon as I'm confident that I've done it right
> and there will be no update-hell waiting around the corner.
Thanks..I'm gonna try it today. WHat I find a bit naught is that js file are
set as attachments to snippet and it is quite hard to edit them as you have
to replace athhachments. Couldn't it be stored whithin some
/midcom/whatever/_js ?
Second, what is the login of URLs like /midcom-serverattachment-{guid} and
is it possible to write your own hadler for such URL to launch given
component? I am thinking of using sitemap for HTMLArea link insertion. I've
already rewrote sitemap "linkmap" component to produce JS awared sitemap but
have no idea how to lauch linkmap as a standalone outside of RootTopic.
Solt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]