Can a user drop a HTML Shadow DOM into a blog post?

Is it possible for a user to drop a HTML Shadow DOM into a blog post? What is needed for that?EDIT:Maybe I should have

Is it possible for a user to drop a HTML Shadow DOM into a blog post? What is needed for that?

EDIT: Maybe I should have written "... drop a definition of a custom element (script+style) + the custom element with a light DOM, all which the user can get as one file, built for drop in on a web page".

Is that more clear to anyone here?


EDIT 2: Can someone perhaps tell if there is another forum on the internet where people might be able to answer this?

Is it possible for a user to drop a HTML Shadow DOM into a blog post? What is needed for that?

EDIT: Maybe I should have written "... drop a definition of a custom element (script+style) + the custom element with a light DOM, all which the user can get as one file, built for drop in on a web page".

Is that more clear to anyone here?


EDIT 2: Can someone perhaps tell if there is another forum on the internet where people might be able to answer this?

Share Improve this question edited Feb 17, 2020 at 21:52 Leo asked Feb 17, 2020 at 10:23 LeoLeo 1511 silver badge9 bronze badges 5
  • 1 Can you give a specific example of what you're trying to do? – Jacob Peattie Commented Feb 17, 2020 at 10:34
  • @JacobPeattie Thanks. Can you please tell me in what way the question is unclear to you? – Leo Commented Feb 17, 2020 at 10:42
  • 1 Shadow DOM isn't something that gets "dropped into" a post. It's an API that a custom element or script can use. Are you trying to add a custom element to a post? – Jacob Peattie Commented Feb 17, 2020 at 10:50
  • @JacobPeattie Ah, I see. Yes, I want a user to be able add a custom element to a post. A custom element with a light DOM and the script+style for the setup of the custom element (I thought it would be more clear if I wrote Shadow DOM...) – Leo Commented Feb 17, 2020 at 11:04
  • @JacobPeattie Is that you downvoting? Then please tell that you do so. Otherwise I have no idea if someone thinks the question is bad for some other reason (relevant or not!). – Leo Commented Feb 17, 2020 at 11:11
Add a comment  | 

1 Answer 1

Reset to default 0

It looks like this plugin may make it possible:

Code Embed – WordPress plugin | WordPress https://wordpress/plugins/simple-embed-code/

However I don't use WordPress any more. Is there someone here that can confirm it will work?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744740976a4591023.html

相关推荐

  • Can a user drop a HTML Shadow DOM into a blog post?

    Is it possible for a user to drop a HTML Shadow DOM into a blog post? What is needed for that?EDIT:Maybe I should have

    23小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信