Do any of you know why rich text editor strips out i tag on. I have tried manipulate the TinyMceConfig.config to put this "-em[class|style],#i[class|style]" as found here on the forum but still it does not work. I am trying to load this icon custom <i class="icon icon-Support color--primary"></i>
Sihle
That may be what you want, but you have to know that will be overridden to default with umbraco update. In perfect way you will need to merge your rules with defaults programmatically.
Rich Text Editor strips out i tag
Do any of you know why rich text editor strips out i tag on. I have tried manipulate the TinyMceConfig.config to put this
"-em[class|style],#i[class|style]"
as found here on the forum but still it does not work. I am trying to load this icon custom<i class="icon icon-Support color--primary"></i>
Comment author was deleted
Hey, from what I can see you need to remove something from the config to
https://our.umbraco.com/documentation/reference/config/tinymceconfig/
There is a rule that removes empty i elements... -i[class|style]
Sihle That may be what you want, but you have to know that will be overridden to default with umbraco update. In perfect way you will need to merge your rules with defaults programmatically.
I strongly recommend you use
Macros
orNested Content
to complex content like that.The purpose of rte is edit pure text with primitive text-styles, all the other would be an headache.
Hello from twitter :)
is working on a reply...