Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2007-02-22 11:11:53

jedi58
Xinha Authority
From: Leicester, UK
Registered: 2007-01-14
Posts: 113
Website

plugin onload events

is there anyway for a plugin to affect the contents of the editor once it is done loading?

I've tried various methods such as addDom0Event and it seems the only editor object available at the time is editor._textArea - i'm sure it would work if I could attach it to editor._iframe but it isn't accessible at the time the plugin starts up.

Not sure how well I've explained what I'm trying to achieve, but hopefully it makes sense!

Last edited by jedi58 (2007-02-22 11:12:28)


David G. Paul
[url]http://www.newearthonline.co.uk[/url]

Offline

#2 2007-02-22 11:57:27

jedi58
Xinha Authority
From: Leicester, UK
Registered: 2007-01-14
Posts: 113
Website

Re: plugin onload events

actually doesn't matter, I've found a way round it


David G. Paul
[url]http://www.newearthonline.co.uk[/url]

Offline

#3 2007-02-22 14:36:53

mokhet
Xinha Authority
From: Paris, France
Registered: 2005-04-03
Posts: 105
Website

Re: plugin onload events

editor.onGenerate = function() {};

no ?

Offline

#4 2007-02-22 18:55:39

jedi58
Xinha Authority
From: Leicester, UK
Registered: 2007-01-14
Posts: 113
Website

Re: plugin onload events

thats one I never tried :s


David G. Paul
[url]http://www.newearthonline.co.uk[/url]

Offline

Board footer

Powered by FluxBB