Hi there,
I've been thinking about a feature I'd love to see on TinyMCE. I manage a blog that has a bunch of totally non-web-saavy contributors, and as such it is impossible for me to get them to do anything, style-wise, that can't be done through tinymce. So though we have some tags built into the stylesheet (pull quotes to either side, intro text looks different from regular, etc) I can't get them to use that stuff, because it currently requires a user to disable rich-text and none of them can handle an html tag.
Would it be possible to have a rich text editor that was customizable? So that you could set things up so that you could highlight the text you wanted to be a pull quote, for instance, and apply a style the same way you would bold it, for instance?
Hope that made sense. I think this would be a great way to make drupal a more useable option for non-technically inclined users. Currently I have to go into all their posts to make them look decent.
Cheers,
Sarah
Comments
Comment #1
quicksketchHi there. What you need to do is go beyond the basic setup of tinyMCE and create your own theme_tinymce_theme function and setup all the buttons you wish to include in the toolbar manually. Read the install file that comes with tinymce.module for instructions on how to do this.
Then, in your tinymce_theme function you can configure the buttons however you like. If you want to make it so users can use certain stylesheet classes, include the 'styleselect' option in your toolbar. Here's how I have my theme file setup, it might help you put together your own:
tinyMCE is a very customizeable editor. You might want to check out all the available options at their site: http://tinymce.moxiecode.com/tinymce/docs/reference_configuration.html
Comment #2
sarahfelicity commentedWow, thank you for that. It'll be very helpful to have somewhere to start.
Cheers!
Comment #3
kreynen commentedclosing all 4.6 issues
Comment #4
kenorb commentedThanks for the code #1