1
1
Fork 0
friendica_2019-12_sharedHos.../addon/oembed/oembed.js

10 lines
215 B
JavaScript

function oembed(){
$("#oembed").toggleClass('hide');
}
function oembed_do(){
embed = "[embed]"+$('#oembed_url').attr('value')+"[/embed]";
tinyMCE.execCommand('mceInsertRawHTML',false,embed);
oembed();
}