friendica/addon/oembed/oembed.js

7 wiersze
175 B
JavaScript
Czysty Zwykły widok Historia

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