[英]how add <script> tag and <link> add in component content grapesjs?
像這種類型的鏈接和腳本標簽如何添加塊內容。
<link rel="stylesheet" href="/HTML/css/font-icons.css" type="text/css" /> <script src="/HTML/js/plugins.min.js"></script>
我們通過添加腳本和鏈接標簽添加這種方式添加
editor.getComponents().add('<link rel="stylesheet" href="...">');
Grapesjs 源碼
[英]How to add iframe in Grapesjs?
[英]How to add block plugins to grapesjs?
[英]How to add options in grapesjs framework
[英]How to add an option for js code in grapesjs?
[英]How to add a custom button to the grapesjs toolbar?
[英]Dynamically add blocks to GrapesJS
[英]How to add Link tag in header?
[英]How to include/add/link 2nd script tag into 1st script tag?
[英]How to add Link/ a tag in the options of dropdown in React
[英]how to add a link on single option in select tag
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.