friendica-addons/oembed/oembed.js

7 lines
175 B
JavaScript
Executable File

function oembed(){
var reply = prompt("$oembed_message:");
if(reply && reply.length) {
tinyMCE.execCommand('mceInsertRawHTML',false, "[embed]"+reply+"[/embed]" );
}
}