Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
My site runs on Runway, I found the Html code function in content area of each page doesn't work, for example, when I set the color of the text, it just display the raw text, and when I recheck the source, the style statement disappeared. How to fix it? Thank you!
In config/tinyMceConfig.config there is a section called validElements. This tells you what attributes are allowed on what tags. So if, for example, you were trying to add style to a h2 tag - you would change -h2[id|dir|class|align] to -h2[id|dir|class|align|style]. Any attributes not listed get removed. I think the general idea is that designers should handle style in most cases, and these controls are primarily for editors.
I think you can turn off this behavior altogether by setting TidyEditorContent to false in umbracoSettings.config.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted