Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Adding a new tag & button (div variant containing pullquote and cite) to TinyMCE?


Go to End


1342 Views

Avatar
Erin

Community Member, 26 Posts

13 January 2010 at 8:09am

Hi there,
I'm trying to figure out how to append a new tag / button combo to TinyMCE--a div+p+cite combo which will contain content for a pullquote. I've parsed through editor_plugin_src.js, LeftAndMain.php and HTMLEditorConfig.php, but I'm still stymied. I fear my javascript skills aren't entirely up to the task. Can anyone give me some pointers on how to get started?
Much thanks!
Erin