friendica_2021.01_tupambae_.../addon/oembed/oembed.js

6 lines
175 B
JavaScript

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