Problems with multiple editor tags…

Again, this is referring to using editor tags within XUL documents. And if you have more than one of them, all the supporting JS seems to assume that you only have one. Functions like *GetCurrentEditorElement()* in _editorUtilities.js_ don’t look like they’d quite work.

So at the moment, I’m playing around with commands like *nsIHTMLEditor.setInlineProperty()*, and wondering is this the right way to do things :-) And I’m using an atom service, whatever that is… (I’m thinking it’s somehow related to singletons?). Possibly some work ahead anyway, but interesting! And here’s “a screenshot”:http://www.lyranthe.org/images/mt-it-2.png, showing its current level of just-starting-ness!

I’ll be off in “Kilkenny”:http://www.kilkenny.ie/ all weekend/start of next week to have a look at this year’s “Arts Week”:http://www.kilkennyarts.ie/, so I think I’ll bring my laptop down with me. Oooh need to get MT installed then…

Leave a Reply