I’d like to add microdata from schema.org vocabulary to our website. However, Umbraco clears necessary html element attributes within RichTextEditor.
For example: I'm tried just add ‘itemscope’ attribute to a div:
After pressing “Ok” button and open editor again ‘itemscope’ missed from html code.
I’ve tried to edit filter in /config/tinyMceConfig.config in tag validElements. I’ve tried to edit value to next 3 lines:
div[id|dir|class|align|style|itemscope]
-div[id|dir|class|align|style|itemscope]
+div[id|dir|class|align|style|itemscope]
Unfortunately, it didn’t help.
Also I'm tried to use a trick from here and add tag for disable tinyEditor’s filter
It didn’t help as well.
It’s tested on Umbraco 7.4.3 and 7.5.3.
Could any one please let me know if there are any other options for adding microdata (attributes) to tags in RichTextBox?
Additional attributes
Hi there,
I’d like to add microdata from schema.org vocabulary to our website. However, Umbraco clears necessary html element attributes within RichTextEditor. For example: I'm tried just add ‘itemscope’ attribute to a div:
After pressing “Ok” button and open editor again ‘itemscope’ missed from html code.I’ve tried to edit filter in /config/tinyMceConfig.config in tag validElements. I’ve tried to edit value to next 3 lines: div[id|dir|class|align|style|itemscope] -div[id|dir|class|align|style|itemscope] +div[id|dir|class|align|style|itemscope]
Unfortunately, it didn’t help.
Also I'm tried to use a trick from here and add tag for disable tinyEditor’s filter
It didn’t help as well.
It’s tested on Umbraco 7.4.3 and 7.5.3.
Could any one please let me know if there are any other options for adding microdata (attributes) to tags in RichTextBox?
is working on a reply...