display tinyMCE with no buttons

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
shahpound
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Jan 05, 2008 10:23 pm
Location: Cambridge, MA

display tinyMCE with no buttons

Post by shahpound » Mon Feb 11, 2008 4:51 pm

Is there a way to display the tinyMCE editor with absolutely no buttons (not just the "image" and "read more" ones, but all of them)?

Basically I want to use the editor to display some HTML, and not allow any editing. The API references that $buttons can be either false, or an array, but I think this applies only to the image and read more buttons.

The component I'm working on is a newsletter component and pretty much everything is done except previewing the newsletter. This is what I would like to use tinyMCE but I don't want to allow the the user to make changes when they are previewing.

Thanks.

Post Reply