X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjot-header.tpl;h=77e5bc4bcd0fca73eddc65f7315465c11bc0922b;hb=9b93bd25218dc0b4a5e477c3a64d6f74a51a9d21;hp=97e30cdae79f2d3fc5e18e4bc4252fc4728c8342;hpb=88bfe21bead769c3ba81e181b79f9d6426ace351;p=friendica.git diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 97e30cdae7..77e5bc4bcd 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -1,51 +1,196 @@ - - + + function jotGetVideo() { + reply = prompt("$utubeurl"); + if(reply && reply.length) { + tinyMCE.execCommand('mceInsertRawHTML',false,'[youtube]' + reply + '[/youtube]'); + } + } - \ No newline at end of file +