Difference between revisions of "User:Tersia/common.js"
From BDSM Wiki
| Line 17: | Line 17: | ||
} | } | ||
}); | }); | ||
| − | |||
| − | |||
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}}"
}
}
}
}
});