Marcin Soltysiak wrote:
| AFAIK to custopmize component's output you need to create styleelemen
(ex.
| show-article) in your midcom style and then assing topic to the style. | Wouldn't it be more comfortable if midcom took the element from root midcom | style if topis has no style assigned?
You can set the style for your root topic and then add a parameter "midcom","style_inherit",true to that topic. This way all subtopics will use the same style unless a different style has been specified.
This could be also a parameter to set from AIS.
Ok..I am getting more into midcom ;-)
Yeah, me too, and every day it looks better than yesterday. :)
What hurts is HTMLAREA that does not allow to use right-alt-{key} to write
national chars.. Is this a matter of HTMLAREA or what?
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.
Cheers
//Henri Kaukola
Solt
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
