MediaWiki:Gadget-EditAddButton.js:修订间差异
来自康健生活
无编辑摘要 |
无编辑摘要 |
||
| 第291行: | 第291行: | ||
peri: 'Insert comment here', | peri: 'Insert comment here', | ||
post: '</div>' | post: '</div>' | ||
} | |||
} | |||
}, | |||
div_leftrightconsole__tag: { | |||
label: 'Div leftrightconsole for editors', | |||
type: 'button', | |||
icon: 'images/toolbar_img/width900px.png', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: '{{leftrightflex|<syntaxhighlight lang="javascript">', | |||
peri: 'Insert comment here', | |||
post: '</syntaxhighlight>|{{consoleout|<pre>\n</pre>}}}}' | |||
} | } | ||
} | } | ||