friendica/addon/oembed/oembed.js

7 lines
175 B
JavaScript
Raw Normal View History

2011-01-26 10:20:12 -05:00
function oembed(){
var reply = prompt("$oembed_message:");
if(reply && reply.length) {
tinyMCE.execCommand('mceInsertRawHTML',false, "[embed]"+reply+"[/embed]" );
}
2011-01-26 10:20:12 -05:00
}