“Widget:CopyText/zh”的版本间的差异

来自Ballance Wiki
跳转至: 导航搜索
2个标签移动版编辑移动网页编辑
 
第1行: 第1行:
<input style="background: #fafafa; border-radius: 2px; padding: 4px 6px; font: 1em monospace; border: 1px solid rgba(0, 0, 0, 0.16); width: <!--{$width|escape:'html'}-->" value="<!--{$content|escape:'html'}-->" readonly><button onclick="this.previousSibling.select(); document.execCommand('copy')" style="background: #ddd; padding: 2px 4px; margin-left: 0.2em">复制</button>
+
<input style="background: #fafafa; border-radius: 2px; padding: 4px 6px; font: 1em monospace; border: 1px solid rgba(0, 0, 0, 0.16); width: <!--{$width|escape:'html'}-->" value="<!--{$content|escape:'html'}-->" readonly><button onclick="this.previousSibling.select(); document.execCommand('copy')" style="background: #ddd; padding: 2px 4px; margin-left: 0.2em; border: none">复制</button>

2020年9月19日 (六) 08:37的最新版本

<input style="background: #fafafa; border-radius: 2px; padding: 4px 6px; font: 1em monospace; border: 1px solid rgba(0, 0, 0, 0.16); width: " value="" readonly><button onclick="this.previousSibling.select(); document.execCommand('copy')" style="background: #ddd; padding: 2px 4px; margin-left: 0.2em; border: none">复制</button>