• Hi all,

    I want to create a custom transformer rule with ‘IgnoreRule’ to ignore the Ad Inserter code blocks like:
    No rules defined for <div class=”code-block code-block-3″> in the context of InstantArticle
    No rules defined for <div class=”code-block code-block-11″> in the context of InstantArticle
    No rules defined for <div class=”code-block code-block-15″> in the context of InstantArticle

    Who can help me? The custom transformer rule below doesn’t work:
    { “rules”: [
    {
    “class”: “IgnoreRule”,
    “selector” : “code-block”
    }
    ]}

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Maybe you should use .code-block for the selector as code-block is class name.

    Hello
    I need help,do you have any solution of no rules defined for <div class=”wp-block-image”> in the context of instantarticle

    Please help me out if you have a solution

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to create IgnoreRule’ is closed to new replies.