Custom Gutenberg Block adding in IFRAME instead of string containing URL

Đã có trọn bộ đề thi thử THPT Quốc Gia 2022 các môn: vip.dethihsg247.com
QUẢNG CÁO: Đổi thẻ cào thành tiền mặt min rút 10k tại đây

I am trying to create a simple custom ‘testimonial’ block. I have been following the following tutorial

https://themes.artbees.net/blog/create-a-custom-block-for-wordpress-gutenberg/

and created a block containing two <p> elements to hold testimonial content, and testimonial author information.

The testimonial author field should contain a URL, and everything works fine in the editor. But when I review the page, some but not all URL’s are displaying fine as text.

A few, however, are not showing at all, and WordPress has added a <blockquote> and <iframe> pulling data from the URL instead.

I have not been able to find any help in the WordPress Block API reference.

My testimonial.js is as follows:

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com