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
Hi everyone, i'm trying to use a simple i tag with a class in richtext editor
<i class="fa-regular fa-circle-check"></i>
but the code is removed on submit, i already checkd the configuration under
appsettings-schema.Umbraco.Cms.json
and it seems correct ("-i[class|style]")
"ValidElements": { "type": "string", "default": "+a[id|style|rel|data-id|data-udi|rev|charset|hreflang|dir|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup],-strong/-b[class|style],-em/-i[class|style],-strike[class|style],-s[class|style],-u[class|style],#p[id|style|dir|class|align],-ol[class|reversed|start|style|type],-ul[class|style],-li[class|style],br[class],img[id|dir|lang|longdesc|usemap|style|class|src|onmouseover|onmouseout|border|alt=|title|hspace|vspace|width|height|align|umbracoorgwidth|umbracoorgheight|onresize|onresizestart|onresizeend|rel|data-id],-sub[style|class],-sup[style|class],-blockquote[dir|style|class],-table[border=0|cellspacing|cellpadding|width|height|class|align|summary|style|dir|id|lang|bgcolor|background|bordercolor],-tr[id|lang|dir|class|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor],tbody[id|class],thead[id|class],tfoot[id|class],#td[id|lang|dir|class|colspan|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor|scope],-th[id|lang|dir|class|colspan|rowspan|width|height|align|valign|style|scope],caption[id|lang|dir|class|style],-div[id|dir|class|align|style],-span[class|align|style],-pre[class|align|style],address[class|align|style],-h1[id|dir|class|align|style],-h2[id|dir|class|align|style],-h3[id|dir|class|align|style],-h4[id|dir|class|align|style],-h5[id|dir|class|align|style],-h6[id|style|dir|class|align|style],hr[class|style],small[class|style],dd[id|class|title|style|dir|lang],dl[id|class|title|style|dir|lang],dt[id|class|title|style|dir|lang],object[class|id|width|height|codebase|*],param[name|value|_value|class],embed[type|width|height|src|class|*],map[name|class],area[shape|coords|href|alt|target|class],bdo[class],button[class],iframe[*],figure,figcaption,cite,video[*],audio[*],picture[*],source[*],canvas[*]" }, "InvalidElements": { "type": "string", "description": "Invalid HTML elements for RichText Editor.\n ", "default": "font" },
is there any other place should i check?
Thanks in advance Davide
try +i[class|style]
+i[class|style]
Hi Huw, thanks for your reply, i tried but it still doesn't work
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco 13 strip i tag with class from Rich text
Hi everyone, i'm trying to use a simple i tag with a class in richtext editor
but the code is removed on submit, i already checkd the configuration under
appsettings-schema.Umbraco.Cms.json
and it seems correct ("-i[class|style]")
is there any other place should i check?
Thanks in advance Davide
try
+i[class|style]
Hi Huw, thanks for your reply, i tried but it still doesn't work
is working on a reply...