From cdb5c890ae35bdb96349c89277076cff6aa74fa7 Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Tue, 4 Feb 2014 00:14:27 -0500 Subject: [PATCH] Add youtube WYSIWYG button --- Sources/Subs-Editor.php | 7 +++++++ Themes/core/images/bbc/youtube.gif | Bin 0 -> 676 bytes Themes/default/images/bbc/youtube.gif | Bin 0 -> 676 bytes 3 files changed, 7 insertions(+) create mode 100644 Themes/core/images/bbc/youtube.gif create mode 100644 Themes/default/images/bbc/youtube.gif diff --git a/Sources/Subs-Editor.php b/Sources/Subs-Editor.php index 45f5bc5..036a0df 100644 --- a/Sources/Subs-Editor.php +++ b/Sources/Subs-Editor.php @@ -1566,6 +1566,13 @@ function create_control_richedit($editorOptions) ), ); $context['bbc_tags'][] = array( + array( + 'image' => 'youtube', + 'code' => 'youtube', + 'before' => '[youtube]', + 'after' => '[/youtube]', + 'description' => 'YouTube' + ), array( 'image' => 'flash', 'code' => 'flash', diff --git a/Themes/core/images/bbc/youtube.gif b/Themes/core/images/bbc/youtube.gif new file mode 100644 index 0000000000000000000000000000000000000000..d2cae707cbe5fdb63e1186299dccc604f1e1fb4b GIT binary patch literal 676 zcmb`E+e_1N0L8yfr{y%=jL9;mTV589d6}0Dw}+u-N=iEKGGuP@n-Dg9@B%)VbNbVC zhFR1@x`~c?VcN7rd@(6WU7;W(!n{3<9%6!l5C*6DKlFJ$a6WKOVbKGbTpLZe#A_ga z*le~?D3nU2m6et4?d>203&-l_E0}Sy{-=Motc7GAI;KDxp##KOe=#C@Dc%8LFyKU5(mW z)YYNB9vTg_TIh7p>(SJN=4Q0Cz-UBkE85!7*@><$nx@y**3i=flL=-s=st{(!)k@i zhRI1xPs47<%nW8{F+UHd6AKGiT!hPor6sJaV0G2)c6&S?Y;0h26I)x@*}>i(_V;mc zfWt%hqoX4nANzbhoSfk73|=qJ&v9{q%S&8c0sfKx4+5}C3o6uks>cNxlC;18f2-h6 z5R(uC5nmgwZz3VSZbOf$*WA}n4-7uDJBVOU=YSgdBEsI z11YB%4FO8$?5kmmbJ4Y|_()ASrtDN8d9h-Cw=*~VhCWuRq=8MTELL9E>S? zG`iUO203&-l_E0}Sy{-=Motc7GAI;KDxp##KOe=#C@Dc%8LFyKU5(mW z)YYNB9vTg_TIh7p>(SJN=4Q0Cz-UBkE85!7*@><$nx@y**3i=flL=-s=st{(!)k@i zhRI1xPs47<%nW8{F+UHd6AKGiT!hPor6sJaV0G2)c6&S?Y;0h26I)x@*}>i(_V;mc zfWt%hqoX4nANzbhoSfk73|=qJ&v9{q%S&8c0sfKx4+5}C3o6uks>cNxlC;18f2-h6 z5R(uC5nmgwZz3VSZbOf$*WA}n4-7uDJBVOU=YSgdBEsI z11YB%4FO8$?5kmmbJ4Y|_()ASrtDN8d9h-Cw=*~VhCWuRq=8MTELL9E>S? zG`iUO