Sign in

problem with and tags

  • This topic has 2 replies, 2 voices, and was last updated 4 months, 1 week ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4842
    cumlaude

    Hello everyone, Merry Christmas. I hope you are well around here.

    I’m trying to use the <publii-amp> and <publii-non-amp> tags within a post using the WYSIWYG editor to insert adsense ads, but the editor deletes the <amp-ad> tag for me.

    Image with the amp code of adsense. https://i.imgur.com/IpwVj5N.png

    Image with the adsense amp code in the publii editor. https://i.imgur.com/xQLKsuI.png

    With the adsense code for the no amp version this does not happen.

    Why is it happening here?

    #4864
    Tomasz Dziuda

    Hi,

    amp-ad is a non-standard HTML tag and at this moment it is removed by TinyMCE – you can fix this as I have described it here: https://forum.getpublii.com/topic/html-code-editors-removes-code/

    but I will also add the known amp tags to the default configuration, so it will be fixed in the upcoming v.0.37.4 🙂

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4876
    cumlaude

    amp-ad is a non-standard HTML tag and at this moment it is removed by TinyMCE – you can fix this as I have described it here: https://forum.getpublii.com/topic/html-code-editors-removes-code/

     

    I tried, but it didn’t work for me. I will wait for the next update.

    Have a happy new year.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.