I was having trouble adding custom icons to the TinyMCE toolbar (that's another story for another day), so I thought I'd try adding items to TinyMCE's "Formats" drop down. However, I seem to be running into some issues:
As you can see, two of the three "Uncommon" formats are disabled (namely, abbreviation and quote). The HTML elements these correspond to are "abbr" and "q". The HTML element for "Sample Output" is "samp". Here's how I configured these in my tinyMceConfig.config:
FYI, I tossed a space in that CDATA element just for the code snippet here (I know of an outstanding Umbraco bug relating to CDATA, so thought I'd avoid that). In the real code, there is no space.
I have no idea why all of the formats work except for "abbr" and "q". Any ideas?
Some Formats in TinyMCE Drop Down are Disabled
I was having trouble adding custom icons to the TinyMCE toolbar (that's another story for another day), so I thought I'd try adding items to TinyMCE's "Formats" drop down. However, I seem to be running into some issues:
As you can see, two of the three "Uncommon" formats are disabled (namely, abbreviation and quote). The HTML elements these correspond to are "abbr" and "q". The HTML element for "Sample Output" is "samp". Here's how I configured these in my
tinyMceConfig.config
:In that same file, I have also indicated that all three are valid elements (near the bottom of the list):
FYI, I tossed a space in that CDATA element just for the code snippet here (I know of an outstanding Umbraco bug relating to CDATA, so thought I'd avoid that). In the real code, there is no space.
I have no idea why all of the formats work except for "abbr" and "q". Any ideas?
Hi Nicholas,
did you ever got this working by any chance, I'm ahaving the exact same issue.
Thank you.
Nope, still doesn't work as far as I know. If you ever get this working, I'd also like to know how.
Looks like there is an upcoming change to update to a newer version of TinyMCE: http://issues.umbraco.org/issue/U4-10191
Perhaps this issue will go away then (or maybe not).
is working on a reply...