I got fed up with this as well, after correcting it in several by implementing custom RTE controllers on top i decided to just rewrite the Umbraco one and make a pullrequest for it: https://github.com/umbraco/Umbraco-CMS/pull/630
Supports *.* and *#*, respectively setting block and class/id, so the following works:
css classes in RTE rsults in <span> tags...
I dont know if its a bug or by design.
If it is by design, could someone please explain the logic behind the following:
if you define classes in your RTE stylesheet, lets say like this where i have a standard paragraph and a class:
Why are thes classes wrapped in span tags when used in the RTE?
Writing the paragraph works as expected:
But when selecting the text and choosing the class does not:
One would expect the class to be applied to the <p> tag.
'm pretty sure this was the behavior before v7..
Yeah it worked perfectly before :(
I saw this https://gist.github.com/bjawnie/a1fac50d99d7aff40cc8 where someone has altered it to add classes, but only to p tags...
I got fed up with this as well, after correcting it in several by implementing custom RTE controllers on top i decided to just rewrite the Umbraco one and make a pullrequest for it: https://github.com/umbraco/Umbraco-CMS/pull/630
Supports *.* and *#*, respectively setting block and class/id, so the following works:
is working on a reply...