Hi all,
I'm new to developing plug-ins for Joomla, so my apologies if I get any of the terminology wrong. Also, this is cross posted from
the Joomla forum - I should have posted here in the first place - sorry.
I've successfully created an `editors-xtd` plug-in to add a button below
the editing panel (by basing it on the core's own plug-ins). I don't
get how I can control the layout of the iframe stuff yet, but I haven't
looked into it properly.
The main issue I'm having trouble with is that I need to modify the
content of an article before it is displayed. I can't just insert HTML
into the editor as I need temporary tokens when the page is loaded. So
my plan was to have the editors-xtd plug-in insert a token such as
`[embed 1234]` and then transform that on output with
`onContentPrepare`. This is where the wheels come off.
How can I have my editors-xtd plug-in also operate on the content output? Brian in the forum noted I can't use `onContentPrepare` in an editors-xtd plug-in. In which case how can I add an option to the editor and also modify the output when displayed to the end user?
Thanks,
Allan