Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Aleksey Gerasimov 31 posts 95 karma points
    Oct 11, 2016 @ 09:00
    Aleksey Gerasimov
    0

    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?

Please Sign in or register to post replies

Write your reply to:

Draft