Update
This commit is contained in:
18
public/admin/plugins/tmce/youTube/plugin.js
Normal file
18
public/admin/plugins/tmce/youTube/plugin.js
Normal file
@@ -0,0 +1,18 @@
|
||||
tinymce.PluginManager.add('youTube', function(editor, url) {
|
||||
editor.addButton('youTube', {
|
||||
|
||||
image: url + '/images/youtube.png',
|
||||
tooltip: 'cpYouTube',
|
||||
onclick: open_youTube
|
||||
});
|
||||
|
||||
function open_youTube() {
|
||||
|
||||
editor.windowManager.open({
|
||||
title: 'cPad > YouTube',
|
||||
width: 900,
|
||||
height: 655,
|
||||
url: url + '/youTube.php'
|
||||
})
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user