mirror of
https://github.com/friendica/friendica
synced 2024-12-24 02:00:15 +00:00
10 lines
215 B
JavaScript
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();
|
|
}
|