Is it possible to add additional blockformats (like cite or code) to the -formats- drop down? The tinyMCE settings page in Drupal 5.1 (and 4.7.6) says you may only remove items from the list, not add items and substitution of items does not seem to work. Using the tinyMCE configuration item theme_advanced_blockformats also does not seem to work.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | tinymce-block-format.patch | 92.32 KB | mrf |
Comments
Comment #1
mrf commentedThe attached patch adds all of the current block format options that are available with Tinymce 2.1.1.1
This patch will add the code option, but you have to insert xhtmlxtras in the plugin-reg.php in order to get cite.
Comment #2
kreynen commentedNedjo's expert config patch allows you to activate additional buttons and reconfigure the order without changing the module or TinyMCE code. The patch no longer works with current release since m3avrck rolled patches that fixed several other issues. I hoping to have time to update that patch this next week, but if someone else can do it sooner that would be really helpful.
Comment #3
mrf commentedThis might come from my ignorance about the history of this module, but is there a specific reason that only p, addr, pre, and the header tags are set as the only available defaults by the module.
I had created this patch for my own use, because of my need for div and blockquote, and posted it here because it seemed to solve this issue as well.
To me it seems better to have all of the possible options available, and still allow users to delete the ones they don't want.
Expert config looks great by the way, and I would definitely use it all the time.
Comment #4
kulfi commentedIt would be good if there were additional config options for theme_advanced_blockformats if "formatselect – font" is enabled. For example I would remove h1,h2,h3 from the default list (p,div,h1,h2,h3,h4,h5,h6,blockquote,dt,dd,code,samp).
Comment #5
pomliane commentedThis version of TinyMCE is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.