friendica-addons-sekb/oembed/oembed.js
2012-01-21 15:19:22 -08:00

6 lines
175 B
JavaScript
Executable file

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