I had the same problem and I just figured out what I was doing wrong.
When creating the properties on the style sheet the Alias has to be changed to CSS syntax.
example:
Create a property and give it the name "Red Text".
In the dialog the "Name" field displays "Red Text",
The "Alias" field also displays "Red Text".
Set the styles to "Color: #ff0000;" and save it.
Now go to the rich text editor and attempt to use it. You get the javascript error you are describing.
Go back to the stylesheet property and change the alias to a CSS syntax: set "Alias" field to ".red-text" (Note the dot before the word "red" indicating this is a class).
Save the property.
Now go to the rich text editor and attempt to use it. It works perfectly.
You have to use proper CSS syntax for the Alias. it appears that you can only use tag names and CSS class names. Prefixing an alias with the # causes the same problem described above.
Styles not applied through tinymce
I am using umbraco 4.5.2 and i have created some styles when i select some text to apply the style i get js error namely:
formatList is undefined
the offending js line in tinymce is
Anyone else having this issue?
Regards
Ismail
FYI: i am using 4.5.2 and the styles i have attached to the rich text editor are working fine for me
I had the same problem and I just figured out what I was doing wrong.
When creating the properties on the style sheet the Alias has to be changed to CSS syntax.
example:
Now go to the rich text editor and attempt to use it. You get the javascript error you are describing.
Now go to the rich text editor and attempt to use it. It works perfectly.
You have to use proper CSS syntax for the Alias. it appears that you can only use tag names and CSS class names. Prefixing an alias with the # causes the same problem described above.
I hope this helps someone.
is working on a reply...