Difference between revisions of "User:Tersia/common.js"
From BDSM Wiki
| (One intermediate revision by the same user not shown) | |||
| Line 6: | Line 6: | ||
label: 'EmbedVideo', | label: 'EmbedVideo', | ||
type: 'button', | type: 'button', | ||
| − | icon: '/ | + | icon: '//upload.wikimedia.org/wikipedia/commons/3/30/Btn_toolbar_rayer.png', |
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
Latest revision as of 02:29, 17 May 2014
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
"embedVideo": {
label: 'EmbedVideo',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/3/30/Btn_toolbar_rayer.png',
action: {
type: 'encapsulate',
options: {
pre: "{{#ev:",
post: "source|id|width|align|caption}}"
}
}
}
}
});