aboutsummaryrefslogtreecommitdiffstats
path: root/addon/oembed/oembed.js
blob: f8e957413cb1954f09cc095a9a44d5ff6c34d066 (plain) (blame)
1
2
3
4
5
6
function oembed(){
	var reply = prompt("$oembed_message:");
	if(reply && reply.length) { 
		  tinyMCE.execCommand('mceInsertRawHTML',false, "[embed]"+reply+"[/embed]" );
	}
}