mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-27 22:02:25 +00:00
7 lines
175 B
JavaScript
7 lines
175 B
JavaScript
|
function oembed(){
|
||
|
var reply = prompt("$oembed_message:");
|
||
|
if(reply && reply.length) {
|
||
|
tinyMCE.execCommand('mceInsertRawHTML',false, "[embed]"+reply+"[/embed]" );
|
||
|
}
|
||
|
}
|