Hi @suzieb! This error doesn’t seem to be coming from our plugin. We don’t use blockquote__tweet as the name for anything in our codebase, and our Click to Tweet block doesn’t include support for rich results in Google.
Thread Starter
SuzieB
(@suzieb)
Hi Alexis,
this is in my source code
<script type="text/javascript" id="uagb-script-frontend">document.addEventListener("DOMContentLoaded", function(){ var selector = document.querySelectorAll( '.uagb-block-93a9cc1d' );
var blockquote__tweet = selector[0].getElementsByClassName("uagb-blockquote__tweet-button");
Is the uagba- missing in the fourth line? Well, it was the fourth line when I post, lol
-
This reply was modified 4 years, 11 months ago by
SuzieB.
-
This reply was modified 4 years, 11 months ago by
SuzieB.
Thread Starter
SuzieB
(@suzieb)
Here’s the whole script because blockquote__tweet shows up twice that I can see.
<script type="text/javascript" id="uagb-script-frontend">document.addEventListener("DOMContentLoaded", function(){ var selector = document.querySelectorAll( '.uagb-block-93a9cc1d' );
var blockquote__tweet = selector[0].getElementsByClassName("uagb-blockquote__tweet-button");
blockquote__tweet[0].addEventListener("click",function(){
var content = selector[0].getElementsByClassName("uagb-blockquote__content")[0].innerText;
var request_url = "https://twitter.com/share?url="+ encodeURIComponent("' . . '")+"&text="+content+"&via="+("' . . '");
window.open( request_url );
});
})</script>
The code excerpts you posted come from Ultimate Addons for Gutenberg, not from Ultimate Blocks, so we can’t do much to help you on this one. Please let them know about this issue.
Thread Starter
SuzieB
(@suzieb)
OH! I am so sorry! I thought it was weird earlier when I saw ADDONs