模板:Codepen:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
Kangkk​(留言 | 贡献)
无编辑摘要
第10行: 第10行:
   |{{#tag:html|
   |{{#tag:html|
     {{#tag:html|{{#tag:script|function {{{id|}}}(_){
     {{#tag:html|{{#tag:script|function {{{id|}}}(_){
       const target = _.contentDocument || _.contentWindow.document;
       const target = _.contentDocument \|\| _.contentWindow.document;
       target.body.innerHTML = `{{#if:{{{style|}}}|{{#tag:style|{{{style|}}}|type=text\/css}}|}}{{#if:{{{html|}}}|{{{html|}}}|}}`
       target.body.innerHTML = `{{#if:{{{style|}}}|{{#tag:style|{{{style|}}}|type=text\/css}}|}}{{#if:{{{html|}}}|{{{html|}}}|}}`
       if ({{{script|}}}) {
       if ({{{script|}}}) {