diff options
Diffstat (limited to 'addon/oembed/oembed.js')
-rw-r--r-- | addon/oembed/oembed.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addon/oembed/oembed.js b/addon/oembed/oembed.js new file mode 100644 index 000000000..54547a86e --- /dev/null +++ b/addon/oembed/oembed.js @@ -0,0 +1,10 @@ +function oembed(){ + $("#oembed").toggleClass('hide'); +} + +function oembed_do(){ + embed = "[embed]"+$('#oembed_url').attr('value')+"[/embed]"; + + tinyMCE.execCommand('mceInsertRawHTML',false,embed); + oembed(); +} |