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
I have been suffering a rather odd behaviour in the tinyMCE that I wonder if anyone else has come across.
I'd recently honed our validElement list in the tinyMCE.config to stop the style attribute from being pasted or manually added from editor copy. We have a few classnames we allow, but generally inline style isn't allowed.
I thought it was working fine when I noticed Lists and List Items were retaining the inline styles despite them not being allowed in the config file.
<ul style="background-color: transparent; color: #000000; cursor: text; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;">
It continues to strip on any other element just fine....its all very odd.
Any ideas, anyone? I'm using Umbraco 7.14.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted