Difference between revisions of "User:Tersia/common.js"
From BDSM Wiki
| 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', | ||
| Line 17: | Line 17: | ||
} | } | ||
}); | }); | ||
| + | |||
| + | {{#ev:youtube|tm0XK2Jsv68|500|center|Naturally Twisted's single column tie}} | ||
Revision as of 02:28, 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}}"
}
}
}
}
});
{{#ev:youtube|tm0XK2Jsv68|500|center|Naturally Twisted's single column tie}}