Black Studio TinyMCE Widget - Version 1.1.1

Version Description

  • Fixed editor issue when dragging widgets from a sidebar to another
Download this release

Release Info

Developer marcochiesi
Plugin Icon 128x128 Black Studio TinyMCE Widget
Version 1.1.1
Comparing to
See all releases

Code changes from version 1.1.0 to 1.1.1

black-studio-tinymce-widget-legacy.js CHANGED
@@ -1 +1 @@
1
- eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('8 x;8 U;8 W;(6(c){6 d(g){c("#"+g).Q("18");r(p(9)=="t"&&p(9.I)=="6"){b(g);r(p(x.A["5-4-3-1"])=="t"){x.A[g]=x.A["5-4-3-1"];x.A[g]["1q"]=g;1r{3.1t(3.1k({},x.A["5-4-3-1"],x.A[g]))}1f(f){1l(f)}}N{9.I("1m",X,g)}}}6 b(g){r(p(9)=="t"&&p(9.I)=="6"){r(p(9.w(g))=="t"){8 f=9.w(g).1s();9.I("1n",X,g);c("q#"+g).P(f)}}}6 a(f){c("7.1-s:B(#"+f+") F[2^=1-5-4-3][2$=K][13=y]").14(6(){r(c("7.1:B(#"+f+") :1e").11()==0&&p(9.w(f))!="t"&&c("#"+f).O(":J")){c("a[2^=1-5-4-3][2$=y]",c(o).v("7.1-s")).n()}N{r(p(9.w(f))!="t"){Z(6(){a(f);f=Y},M)}}})}6 e(f){c("7.1-s:B(#"+f+") F[2^=1-5-4-3][2$=K][13=y]").14(6(){r(c.D==0&&p(9.w(f))!="t"&&c("#"+f).O(":J")){c("a[2^=1-5-4-3][2$=y]",c(o).v("7.1-s")).n()}N{r(c("7.1:B(#"+f+") 7.1-s").O(":J")&&p(9.w(f))!="t"){Z(6(){e(f);f=Y},M)}}})}c(E).17(6(){c("7.1:B(q[2^=1-5-4-3]) a.1-19").C("n",6(g){g.G();8 i=c(o).v("7.1");8 h=c("q[2^=1-5-4-3]",i);c("#1a-1b").S("1c","J");i.S("15","16").S("z-1u","M");a(h.u("2"))});c(E).L("H").n.V(c(E).L("H").n.12());c("7.1[2*=5-4-3] F[1p=1o]").C("n",6(g){g.G();8 i=c(o).v("7.1");8 h=c("q[2^=1-5-4-3]",i);r(p(9.w(h.u("2")))=="t"){b(h.u("2"))}c(o).1d("T").T(6(k,l,j){8 m=c("q[2^=1-5-4-3]",c(o).v("7.1-s"));e(m.u("2"))})});c(E).L("H").n.V(c(E).L("H").n.12());c("a[2^=1-5-4-3][2$=y]").C("n",6(g){g.G();8 h=c(o).v("7.1-s");c("F[2^=1-5-4-3][2$=K]",h).P("y");c(o).Q("D");c("a[2^=1-5-4-3][2$=R]",h).10("D");d(c("q[2^=1-5-4-3]",h).u("2"))});c("a[2^=1-5-4-3][2$=R]").C("n",6(g){g.G();8 h=c(o).v("7.1-s");c("F[2^=1-5-4-3][2$=K]",h).P("R");c(o).Q("D");c("a[2^=1-5-4-3][2$=y]",h).10("D");b(c("q[2^=1-5-4-3]",h).u("2"))});c(".1j a").C("n",6(){8 g=c(o).v("7.1-s");U=c("q[2^=1-5-4-3]",g).w();W=c("q[2^=1-5-4-3]",g).u("2")});r(c("1i.1h").11()>0){8 f=c("q[2^=1-5-4-3]");a(f.u("2"))}})})(1g);',62,93,'|widget|id|tinymce|studio|black|function|div|var|tinyMCE||||||||||||||click|this|typeof|textarea|if|inside|object|attr|closest|get|tinyMCEPreInit|visual||mceInit|has|live|active|document|input|preventDefault|events|execCommand|visible|type|data|100|else|is|val|addClass|html|css|ajaxSuccess|edCanvas|unshift|wpActiveEditor|false|null|setTimeout|removeClass|size|pop|value|each|position|relative|ready|mceEditor|action|wpbody|content|overflow|unbind|animated|catch|jQuery|widgets_access|body|editor_media_buttons|extend|alert|mceAddControl|mceRemoveControl|savewidget|name|elements|try|getContent|init|index'.split('|'),0,{}))
1
+ eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('8 y;8 U;8 W;(6(c){6 d(g){c("#"+g).Q("18");q(p(9)=="u"&&p(9.I)=="6"){b(g);q(p(y.A["5-4-3-1"])=="u"){y.A[g]=y.A["5-4-3-1"];y.A[g]["1q"]=g;1r{3.1t(3.1k({},y.A["5-4-3-1"],y.A[g]))}1f(f){1l(f)}}M{9.I("1m",X,g)}}}6 b(g){q(p(9)=="u"&&p(9.I)=="6"){q(p(9.x(g))=="u"){8 f=9.x(g).1s();9.I("1n",X,g);c("r#"+g).P(f)}}}6 a(f){c("7.1-s:B(#"+f+") F[2^=1-5-4-3][2$=K][13=v]").14(6(){q(c("7.1:B(#"+f+") :1e").11()==0&&p(9.x(f))!="u"&&c("#"+f).O(":J")){c("a[2^=1-5-4-3][2$=v]",c(n).t("7.1-s")).o()}M{q(p(9.x(f))!="u"){Z(6(){a(f);f=Y},N)}M{c("a[2^=1-5-4-3][2$=v]",c(n).t("7.1-s")).o()}}})}6 e(f){c("7.1-s:B(#"+f+") F[2^=1-5-4-3][2$=K][13=v]").14(6(){q(c.C==0&&p(9.x(f))!="u"&&c("#"+f).O(":J")){c("a[2^=1-5-4-3][2$=v]",c(n).t("7.1-s")).o()}M{q(c("7.1:B(#"+f+") 7.1-s").O(":J")&&p(9.x(f))!="u"){Z(6(){e(f);f=Y},N)}}})}c(E).17(6(){c("7.1:B(r[2^=1-5-4-3]) a.1-19").D("o",6(g){g.G();8 i=c(n).t("7.1");8 h=c("r[2^=1-5-4-3]",i);c("#1a-1b").S("1c","J");i.S("15","16").S("z-1u","N");a(h.w("2"))});c(E).L("H").o.V(c(E).L("H").o.12());c("7.1[2*=5-4-3] F[1p=1o]").D("o",6(g){g.G();8 i=c(n).t("7.1");8 h=c("r[2^=1-5-4-3]",i);q(p(9.x(h.w("2")))=="u"){b(h.w("2"))}c(n).1d("T").T(6(k,l,j){8 m=c("r[2^=1-5-4-3]",c(n).t("7.1-s"));e(m.w("2"))})});c(E).L("H").o.V(c(E).L("H").o.12());c("a[2^=1-5-4-3][2$=v]").D("o",6(g){g.G();8 h=c(n).t("7.1-s");c("F[2^=1-5-4-3][2$=K]",h).P("v");c(n).Q("C");c("a[2^=1-5-4-3][2$=R]",h).10("C");d(c("r[2^=1-5-4-3]",h).w("2"))});c("a[2^=1-5-4-3][2$=R]").D("o",6(g){g.G();8 h=c(n).t("7.1-s");c("F[2^=1-5-4-3][2$=K]",h).P("R");c(n).Q("C");c("a[2^=1-5-4-3][2$=v]",h).10("C");b(c("r[2^=1-5-4-3]",h).w("2"))});c(".1j a").D("o",6(){8 g=c(n).t("7.1-s");U=c("r[2^=1-5-4-3]",g).x();W=c("r[2^=1-5-4-3]",g).w("2")});q(c("1i.1h").11()>0){8 f=c("r[2^=1-5-4-3]");a(f.w("2"))}})})(1g);',62,93,'|widget|id|tinymce|studio|black|function|div|var|tinyMCE||||||||||||||this|click|typeof|if|textarea|inside|closest|object|visual|attr|get|tinyMCEPreInit||mceInit|has|active|live|document|input|preventDefault|events|execCommand|visible|type|data|else|100|is|val|addClass|html|css|ajaxSuccess|edCanvas|unshift|wpActiveEditor|false|null|setTimeout|removeClass|size|pop|value|each|position|relative|ready|mceEditor|action|wpbody|content|overflow|unbind|animated|catch|jQuery|widgets_access|body|editor_media_buttons|extend|alert|mceAddControl|mceRemoveControl|savewidget|name|elements|try|getContent|init|index'.split('|'),0,{}))
black-studio-tinymce-widget.js CHANGED
@@ -1 +1 @@
1
- eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('8 D;8 T;(6(c){6 d(g){c("#"+g).R("1c");w(t(q)=="x"&&t(q.N)=="6"){b(g);D.F[g]=D.F["5-4-3-2"];D.F[g]["1b"]=g;1a{3.19(3.1d({},D.F["5-4-3-2"],D.F[g]))}1e(f){1i(f)}}}6 b(g){w(t(q)=="x"&&t(q.N)=="6"){w(t(q.y(g))=="x"){8 f=q.y(g).18();q.N("1g",1f,g);c("s#"+g).O(f)}}}6 a(f){c("7.2-u:H(#"+f+") C[1^=2-5-4-3][1$=K][V=B]").W(6(){w(c("7.2:H(#"+f+") :1j").Y()==0&&t(q.y(f))!="x"&&c("#"+f).M(":J")){c("a[1^=2-5-4-3][1$=B]",c(9).v("7.2-u")).A()}X{w(t(q.y(f))!="x"){10(6(){a(f);f=12},P)}}})}6 e(f){c("7.2-u:H(#"+f+") C[1^=2-5-4-3][1$=K][V=B]").W(6(){w(c.G==0&&t(q.y(f))!="x"&&c("#"+f).M(":J")){c("a[1^=2-5-4-3][1$=B]",c(9).v("7.2-u")).A()}X{w(c("7.2:H(#"+f+") 7.2-u").M(":J")&&t(q.y(f))!="x"){10(6(){e(f);f=12},P)}}})}c(I).17(6(){c(I).E("A","7.2:H(s[1^=2-5-4-3]) a.2-14",6(g){8 i=c(9).v("7.2");8 h=c("s[1^=2-5-4-3]",i);c("C[11=Z]",i).E("A",6(j){8 l=c(9).v("7.2");8 k=c("s[1^=2-5-4-3]",l);w(t(q.y(k.r("1")))=="x"){b(k.r("1"))}c(9).U("L").L(6(n,o,m){8 p=c("s[1^=2-5-4-3]",c(9).v("7.2-u"));e(p.r("1"))})});c("#15-16").S("1h","J");i.S("1o","1t").S("z-1q","P");a(h.r("1"));c(".1m-1r",i).1k("1n",h.r("1"))});c("7.2[1*=5-4-3] C[11=Z]").E("A",6(g){8 i=c(9).v("7.2");8 h=c("s[1^=2-5-4-3]",i);w(t(q.y(h.r("1")))=="x"){b(h.r("1"))}c(9).U("L").L(6(k,l,j){8 m=c("s[1^=2-5-4-3]",c(9).v("7.2-u"));e(m.r("1"))})});c(I).E("A","a[1^=2-5-4-3][1$=B]",6(g){8 h=c(9).v("7.2-u");c("C[1^=2-5-4-3][1$=K]",h).O("B");c(9).R("G");c("a[1^=2-5-4-3][1$=Q]",h).13("G");d(c("s[1^=2-5-4-3]",h).r("1"))});c(I).E("A","a[1^=2-5-4-3][1$=Q]",6(g){8 h=c(9).v("7.2-u");c("C[1^=2-5-4-3][1$=K]",h).O("Q");c(9).R("G");c("a[1^=2-5-4-3][1$=B]",h).13("G");b(c("s[1^=2-5-4-3]",h).r("1"))});c(I).E("A",".1l a",6(){8 g=c(9).v("7.2-u");T=c("s[1^=2-5-4-3]",g).r("1")});w(c("1s.1u").Y()>0){8 f=c("s[1^=2-5-4-3]");a(f.r("1"))}})})(1p);',62,93,'|id|widget|tinymce|studio|black|function|div|var|this|||||||||||||||||tinyMCE|attr|textarea|typeof|inside|closest|if|object|get||click|visual|input|tinyMCEPreInit|on|mceInit|active|has|document|visible|type|ajaxSuccess|is|execCommand|val|100|html|addClass|css|wpActiveEditor|unbind|value|each|else|size|savewidget|setTimeout|name|null|removeClass|action|wpbody|content|ready|getContent|init|try|elements|mceEditor|extend|catch|false|mceRemoveControl|overflow|alert|animated|data|editor_media_buttons|insert|editor|position|jQuery|index|media|body|relative|widgets_access'.split('|'),0,{}))
1
+ eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('8 D;8 12;(6(c){6 d(g){c("#"+g).T("15");w(u(q)=="y"&&u(q.R)=="6"){b(g);D.I[g]=D.I["4-5-3-2"];D.I[g]["1a"]=g;18{3.1j(3.1b({},D.I["4-5-3-2"],D.I[g]))}1h(f){1e(f)}}}6 b(g){w(u(q)=="y"&&u(q.R)=="6"){w(u(q.A(g))=="y"){8 f=q.A(g).1d();q.R("1f",1g,g);c("t#"+g).Q(f)}}}6 a(f){c("7.2-v:F(#"+f+") C[1^=2-4-5-3][1$=K][10=B]").U(6(){w(c("7.2:F(#"+f+") :1i").V()==0&&u(q.A(f))!="y"&&c("#"+f).O(":J")){c("a[1^=2-4-5-3][1$=B]",c(9).s("7.2-v")).x()}N{w(u(q.A(f))!="y"){Z(6(){a(f);f=Y},P)}N{c("a[1^=2-4-5-3][1$=B]",c(9).s("7.2-v")).x()}}})}6 e(f){c("7.2-v:F(#"+f+") C[1^=2-4-5-3][1$=K][10=B]").U(6(){w(c.G==0&&u(q.A(f))!="y"&&c("#"+f).O(":J")){c("a[1^=2-4-5-3][1$=B]",c(9).s("7.2-v")).x()}N{w(c("7.2:F(#"+f+") 7.2-v").O(":J")&&u(q.A(f))!="y"){Z(6(){e(f);f=Y},P)}}})}c(H).17(6(){c(H).E("x","7.2:F(t[1^=2-4-5-3]) a.2-19",6(g){8 i=c(9).s("7.2");8 h=c("t[1^=2-4-5-3]",i);c("C[X=W]",i).E("x",6(j){8 l=c(9).s("7.2");8 k=c("t[1^=2-4-5-3]",l);w(u(q.A(k.r("1")))=="y"){b(k.r("1"))}c(9).11("L").L(6(n,o,m){8 p=c("t[1^=2-4-5-3]",c(9).s("7.2-v"));e(p.r("1"))})});c("#16-14").M("1c","J");i.M("1n","1u").M("z-1t","P");a(h.r("1"));c(".1r-1k",i).1m("1l",h.r("1"))});c("7.2[1*=4-5-3] C[X=W]").E("x",6(g){8 i=c(9).s("7.2");8 h=c("t[1^=2-4-5-3]",i);w(u(q.A(h.r("1")))=="y"){b(h.r("1"))}c(9).11("L").L(6(k,l,j){8 m=c("t[1^=2-4-5-3]",c(9).s("7.2-v"));e(m.r("1"))})});c(H).E("x","a[1^=2-4-5-3][1$=B]",6(g){8 h=c(9).s("7.2-v");c("C[1^=2-4-5-3][1$=K]",h).Q("B");c(9).T("G");c("a[1^=2-4-5-3][1$=S]",h).13("G");d(c("t[1^=2-4-5-3]",h).r("1"))});c(H).E("x","a[1^=2-4-5-3][1$=S]",6(g){8 h=c(9).s("7.2-v");c("C[1^=2-4-5-3][1$=K]",h).Q("S");c(9).T("G");c("a[1^=2-4-5-3][1$=B]",h).13("G");b(c("t[1^=2-4-5-3]",h).r("1"))});c(H).E("x",".1o a",6(){8 g=c(9).s("7.2-v");12=c("t[1^=2-4-5-3]",g).r("1")});w(c("1p.1q").V()>0){8 f=c("t[1^=2-4-5-3]");a(f.r("1"))}})})(1s);',62,93,'|id|widget|tinymce|black|studio|function|div|var|this|||||||||||||||||tinyMCE|attr|closest|textarea|typeof|inside|if|click|object||get|visual|input|tinyMCEPreInit|on|has|active|document|mceInit|visible|type|ajaxSuccess|css|else|is|100|val|execCommand|html|addClass|each|size|savewidget|name|null|setTimeout|value|unbind|wpActiveEditor|removeClass|content|mceEditor|wpbody|ready|try|action|elements|extend|overflow|getContent|alert|mceRemoveControl|false|catch|animated|init|media|editor|data|position|editor_media_buttons|body|widgets_access|insert|jQuery|index|relative'.split('|'),0,{}))
black-studio-tinymce-widget.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Black Studio TinyMCE Widget
4
Plugin URI: http://wordpress.org/extend/plugins/black-studio-tinymce-widget/
5
Description: Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
6
- Version: 1.1.0
7
Author: Black Studio
8
Author URI: http://www.blackstudio.it
9
License: GPL2
@@ -11,7 +11,7 @@ License: GPL2
11
12
global $black_studio_tinymce_widget_version;
13
global $black_studio_tinymce_widget_dev_mode;
14
- $black_studio_tinymce_widget_version = "1.1.0"; // This is used internally - should be the same reported on the plugin header
15
$black_studio_tinymce_widget_dev_mode = false;
16
17
/* Widget class */
3
Plugin Name: Black Studio TinyMCE Widget
4
Plugin URI: http://wordpress.org/extend/plugins/black-studio-tinymce-widget/
5
Description: Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
6
+ Version: 1.1.1
7
Author: Black Studio
8
Author URI: http://www.blackstudio.it
9
License: GPL2
11
12
global $black_studio_tinymce_widget_version;
13
global $black_studio_tinymce_widget_dev_mode;
14
+ $black_studio_tinymce_widget_version = "1.1.1"; // This is used internally - should be the same reported on the plugin header
15
$black_studio_tinymce_widget_dev_mode = false;
16
17
/* Widget class */
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.blackstudio.it/en/wordpress-plugins/black-studio-tinymce
4
Tags: wysiwyg, widget, tinymce, editor, image, media, rich text, rich text editor, visual editor, wysiwyg editor, tinymce editor, widget editor, html editor, wysiwyg widget, html widget, editor widget, text widget, rich text widget, enhanced text widget, tinymce widget, visual widget, image widget, media widget
5
Requires at least: 3.0
6
Tested up to: 3.5
7
- Stable tag: 1.1.0
8
9
Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
10
@@ -68,6 +68,9 @@ Alternatively, if you don't want to use `[embed]` shortcode, ensure that the URL
68
69
== Changelog ==
70
71
= 1.1.0 =
72
* Compatibility fixes for upcoming Wordpress 3.5
73
* Added support for the new Wordpress media library dialog
4
Tags: wysiwyg, widget, tinymce, editor, image, media, rich text, rich text editor, visual editor, wysiwyg editor, tinymce editor, widget editor, html editor, wysiwyg widget, html widget, editor widget, text widget, rich text widget, enhanced text widget, tinymce widget, visual widget, image widget, media widget
5
Requires at least: 3.0
6
Tested up to: 3.5
7
+ Stable tag: 1.1.1
8
9
Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
10
68
69
== Changelog ==
70
71
+ = 1.1.1 =
72
+ * Fixed editor issue when dragging widgets from a sidebar to another
73
+
74
= 1.1.0 =
75
* Compatibility fixes for upcoming Wordpress 3.5
76
* Added support for the new Wordpress media library dialog