芝麻web文件管理V1.00
编辑当前文件:/home/r5772835/public_html/blog.ycreate.jp/wp-content/themes/swell/build/js/admin/tinymce.min.js
!function(){console.log("SWELL: Loaded tinymce.min.js");const t=window.tinymce,l=window.swellTinyMceText;t&&l&&(t.create("tinymce.plugins.swellButtons",{init(t,e){const o=l.textPlaceholder,c=l.contentPlaceholder,n=l.menuTtl,i=l=>{t.execCommand("mceInsertContent",!1,l)},s=t=>{const e=`wp-block-columns has-2-columns ${t}`,o=l.columnText1,c=l.columnText2;i(`
${o}
${c}
`)},a=t=>{const e=`wp-block-columns has-3-columns ${t}`,o=l.columnText1,c=l.columnText2,n=l.columnText3;i(`
${o}
${c}
${n}
`)},d=t=>{const e=l.capboxTextTtl,o=l.capboxTextContent;i(`
${e}
${o}
`)},r=[{text:l.shortcodeBallooonNormal,onclick(){i(`[ふきだし]${o}[/ふきだし]`)}}],h=window.swellBalloons;h&&Object.keys(h).forEach((function(t){const l=h[t];r.push({text:l.title,onclick(){const t=`[ふきだし set="${l.title}"]${o}[/ふきだし]`;i(t)}})}));const u=[],m=window.swellBlogParts;m&&Object.keys(m).forEach((function(t){const l=m[t];u.push({text:l.title,onclick(){i(`[blog_parts id="${t}"]`)}})}));const p=[],x=[],b=[],g=[],T=[],$=window.swellAdTags;$&&($.forEach((function({title:t,type:l,id:e}){"normal"===l?x.push({text:t,onclick(){i(`[ad_tag id="${e}"]`)}}):"affiliate"===l?b.push({text:t,onclick(){i(`[ad_tag id="${e}"]`)}}):"amazon"===l?g.push({text:t,onclick(){i(`[ad_tag id="${e}"]`)}}):"ranking"===l&&T.push({text:t,onclick(){i(`[ad_tag id="${e}"]`)}})})),x.length>0&&p.push({text:l.shortcodeAdTagBanner,menu:x}),b.length>0&&p.push({text:l.shortcodeAdTagAffiliate,menu:b}),g.length>0&&p.push({text:l.shortcodeAdTagAmazon,menu:g}),T.length>0&&p.push({text:l.shortcodeAdTagRanking,menu:T}));const k=[{text:l.shortcodeRelatedPost,onclick(){i('[post_link id="00"]')}},{text:l.shortcodeFullWide,onclick(){i(`[full_wide_content bg="#f7f7f7"]
${c}
[/full_wide_content]`)}}];r.length>0&&k.push({text:l.shortcodeBallooon,menu:r}),u.length>0&&k.push({text:l.shortcodeBlogParts,menu:u}),p.length>0&&k.push({text:l.shortcodeAdTag,menu:p}),t.addButton("shortcode_select",{title:n,text:n,type:"menubutton",menu:[{text:l.shortcodeTtl,menu:k},{text:l.tableTtl,menu:[{text:l.tableStyleNormal,onclick(){const t=l.tableBodyThPlaceholder;i(`
${t}
${o}
${t}
${o}
`)}},{text:l.tableStyleHead,onclick(){const t=l.tableHeadThPlaceholder,e=l.tableBodyThPlaceholder;i(`
${t}
${t}
${e}
${o}
${e}
${o}
`)}},{text:l.tableStyleSimple,onclick(){const t=l.tableBodyThPlaceholder;i(`
${t}
${o}
${t}
${o}
`)}},{text:l.tableStyleSimpleHead,onclick(){const t=l.tableHeadThPlaceholder,e=l.tableBodyThPlaceholder;i(`
${t}
${t}
${e}
${o}
${e}
${o}
`)}}]},{text:l.columnTwoTtl,menu:[{text:l.columnTwoStyleNormal,onclick(){s("")}},{text:l.columnTwoStyleFirstBig,onclick(){s("first_big")}},{text:l.columnTwoStyleLastBig,onclick(){s("last_big")}},{text:l.columnThreeStyleSpColumnTwo,onclick(){s("sp_column2")}},{text:l.columnTwoStyleSpColumnTwoFirstBig,onclick(){s("sp_column2 first_big")}},{text:l.columnTwoStyleSpColumnTwoLastBig,onclick(){s("sp_column2 last_big")}}]},{text:l.columnThreeTtl,menu:[{text:l.columnThreeStyleNormal,onclick(){a("")}},{text:l.columnThreeStyleFirstBig,onclick(){a("first_big")}},{text:l.columnThreeStyleLastBig,onclick(){a("last_big")}},{text:l.columnThreeStyleSpColumnTwoFirstBig,onclick(){a("sp_column2 first_big")}},{text:l.columnThreeStyleSpColumnTwoLastBig,onclick(){a("sp_column2 last_big")}}]},{text:l.capboxTtl,menu:[{text:l.capboxBigTtl,onclick(){d("big_ttl")}},{text:l.capboxSmallTtl,onclick(){d("is-style-small_ttl")}},{text:l.capboxOnBorderTtl1,onclick(){d("is-style-onborder_ttl")}},{text:l.capboxOnBorderTtl2,onclick(){d("is-style-onborder_ttl2")}}]}]})},createControl(t,l){return null}}),t.PluginManager.add("swellButtons",t.plugins.swellButtons))}();