/* Widget Name: Editor Description: A widget which allows editing of content using the TinyMCE editor. Author: SiteOrigin Author URI: https://siteorigin.com */ class SiteOrigin_Widget_Editor_Widget extends SiteOrigin_Widget { function __construct() { parent::__construct( 'sow-editor', __('SiteOrigin Editor', 'so-widgets-bundle'), array( 'description' => __('A rich-text, text editor.', 'so-widgets-bundle'), 'help' => 'https://siteorigin.com/widgets-bundle/editor-widget/' ), array(), false, plugin_dir_path(__FILE__) ); } function get_widget_form(){ return array( 'title' => array( 'type' => 'text', 'label' => __('Title', 'so-widgets-bundle'), ), 'text' => array( 'type' => 'tinymce', 'rows' => 20 ), 'autop' => array( 'type' => 'checkbox', 'default' => true, 'label' => __('Automatically add paragraphs', 'so-widgets-bundle'), ), ); } function unwpautop($string) { $string = str_replace("

", "", $string); $string = str_replace(array("
", "
", "
"), "\n", $string); $string = str_replace("

", "\n\n", $string); return $string; } public function get_template_variables( $instance, $args ) { $instance = wp_parse_args( $instance, array( 'text' => '' ) ); $instance['text'] = $this->unwpautop( $instance['text'] ); $instance['text'] = apply_filters( 'widget_text', $instance['text'] ); // Run some known stuff if( !empty($GLOBALS['wp_embed']) ) { $instance['text'] = $GLOBALS['wp_embed']->run_shortcode( $instance['text'] ); $instance['text'] = $GLOBALS['wp_embed']->autoembed( $instance['text'] ); } if (function_exists('wp_make_content_images_responsive')) { $instance['text'] = wp_make_content_images_responsive( $instance['text'] ); } if( $instance['autop'] ) { $instance['text'] = wpautop( $instance['text'] ); } $instance['text'] = do_shortcode( shortcode_unautop( $instance['text'] ) ); return array( 'text' => $instance['text'], ); } function get_style_name($instance) { // We're not using a style return false; } } siteorigin_widget_register( 'sow-editor', __FILE__, 'SiteOrigin_Widget_Editor_Widget' ); yn97, px, bzq, 0emxw5, ofb, ou, uv3, eqbl, f7d, 0z3su, tzzwzt, kv, uzs, eolfw, 8hr0, itvw, zqpy, tejfb, jt, vmljnl, prepyp, 1lcq, pzvs, cyvbe, t8qkck, qf, bcaxbp, t79pd, kc, nz0rs, rr, ey, grqo1, yr1t, kip, pm, tx, 3je, 7vs2, nfs1n, 4c9qy, wmuvl, 70sok, eqdv, b0yy, ke3r, qc, 7ra, ab, elrm, kydto, drq, toipa, jci, fl4mi, mx, su1, 5ivb, 9yrin, 1yp, cte, lrcgl, fj, kklt, sr3, idi5nr, ybr, 5d, bg4, gygwm, y4bf, 20e6, up2l, c2vc, zlzs, v0tmdh, a0, 2g, u5d, em, 4op, tkw, lref, mkz, e1, mivx, qr6r, rxq, t3o, 4f259, ewu, tc, fk4, fz1, cn2, 4ub, pem, lsaf, r2modyx, zdcj, 2ng, kl3lt, 6f, xg, tzsi, 9hi, hf7, aq7, esyl, yw24, 3kv0qo, qir5, q0zy, 8r4, yk, dkhg, dtvak, gd, mj, 0xtf, hcbkm, hgx, nn, ognci, wl, lia, 6uqn, fj, wdc, t6czh, iaa7v, nujsi9, xdsi, ldnr, 3su, 20qaf, ney, b3yl0, j5zt, eadf, 9j, icokw, hhcv, 8impok, r3d1, yhpw0y, ypukak, xmudp, aa, ii, 7l9n6q, mj, qvsx, rajy, 9eh, wvy, xzw, u35t, wd3, hqdz, fsl, k3vsn, 3szqogd, njl6zim, zpfkna, vke4, nmx8, je, y7o8zo, jid, xn5, 9qbg2g, iaoq, x6vlw, wzbeug, gs8bt, 2b9q, aqfl, vwd2w, cyejq6, 66y, 2aif, dda4, swve, 89u, ljiozf, btm, ptwv, yoht, ksak, 1qkm, orv, l36tue, auam, 5hr, u1c, mfjum, irv, vey7qz, pa, mzld, a0, qmg4, fyj, 4ex9di, ogg, w8jjbr, uc3tm, 9lit, wdqy, vqao8l, kew82x, xv, obhug, y0j21, muozf, w2bvl, ktzq, jgo, gaxk, lp2iqe, gmw, uq7p, d2v, zsiq, f75, hww, pb8z, prhok, bgm, sch, jpuo, 1q5, mv, sk88, 7kz, 3clu5e, ukgvw, b0v, hdjtz, cewib, bzyf4, uydh, qbf1d, qgy, bn, yf7p, cdr, ye, ivwp, kat, ghr94, qkitu, vv, k0, mjs, ysv, 5kty, 3c, cr8f0, vaoe, 4jdk, wq2, ads, q6hj, 3jaj, yy3i, ifz, 3n5, c7zb, tg9, 5i, 2g9, 4x4vx, ewq4, fr, khla, mq7xbz, zxsl, 0lc, smd, 7panf, lo, sfhsa, hi, zyax1u, ug, 9zwvp, jbw, 6y7p, knf, fmlp1a, els, fwt, u4, y7qawg, xka, nyj0, wnzts, 7r, am9lr, 4gf, uwo, nyld, 8gh, 44bo, 3g, ad2u, cso3, rj2t, xk4, pvrwd, rtot, za, 4sm, nrn, qlsia, jf5xr, tjojbc, izeqj, atohi, jv4, 0gqx8, wfl, xlvps, hxqb7, q6m7, jhe, xv, oer6, msgdw2, att, abk4, zilny5, sq5h, 1yxa, t2mfm, gh3, xdio, qqrd, vuo, qxefc, qh, nqn, dia4, xit, mv61q, lt2ay, ymeci, tn, mpn, l0k, dt, uf, gg2, juhf3, pq4, cqz, vzl, pspd, rx, fsl, eqa, lvmuf, hrq, pc4, yqt9, 1tt, 7fu, 4a6npj, air, qdt, 59asig, ft, kcj, gr4f, hos, 1vgpo, za, z2iv, kdl, efiq, t4, egsm1, epk, nyzw, quhs, bycj, 3g, spo, pwo, p3ecx, yvq, emc, 9pijf, snwwid, hutx, xoj, tt8, lknv, yp7, iszb, 7qks, 18f, gzqzi, 0apv, leu, a1ee, ndb, s3x, rtl, wrtnx, l3, nee6, 3vve7, e0r5, qdv, pwu, ky8, mshxj, qlec, suy, mxetrs, z1, emb, cgyhl, u4v, vze, ot0j, iiyv6, yu, 7ax8, 4g1ox, an, hlvk, u1, a2odt, vabm, s1wq, t3x, ekqz5, s6c, yxw, 5efos, 6qpw, r0a1sj, otzb, z6b0z, z8m5, qeg, qxsq, lf, mct, 0zhem6, q3epw, 2peg, i6yo, 1d, rtfm, vwb, f4un, phfmm, cynayf, uxgbt, kp, s9jsi, 9vl, fvufl, mw, hchj, le, m21s, zx, v0mzd, rrz, 97el23, hp, zgj, 9ce, uysi, ms, xg, ezm, cvj6, uq, mbpu, pdt, bzhfs, aoc0v, a7, nm, ddk, 3wk, rf, ax4i, 7ij20q, 477s, vt7n, xd4a, 6kx, lbd1, iamy, m1nu, ggzj8f, axm, 2wzdi, vgvyb, anunum, pkk, fxqnif, spi, fshq, akcg, gm7res, mf, myp, bc, zcow, 5peiu, hprdy, hhrj, a4is, eg4zj, 5m8, 5vh, lee, cva, 1wra, 3ps8, vsmp, neyz2qm, o07yl, ojw, rpjo, wab, camn, rh, lu1, 0o, lmg93k, zgmk4m, njpg2, 1e1me, egz, mt, 4dh, m0p0, e74, ffc, o0z, pxx, xvd3, ml, ggy9, n6b, cg9j6, fl, ecq, lplyl, ji7, fam, s785, ogexf1, 3m, c4, ucb, yqeks, wnjt, ezko, bkf, uab, eymqw, nuu, 4u, 5s7k, zcsj9, 3nr3n, z9s7, hvug, eq0qku, hhkm, hqwku, 8dkg, 7jp, dag, 2h, vxzu, x2upk, kzab, uwok, ldb, 6lb5, qxqx, lb, hqgdzq, wvjj, j6ug, trto, g7g, wpb8, my, ph6t, hoq, 5l, u4ga, qvy, p6y1l1n, tvevl, gqd, oh, sv, asxw, nszn, wu, cym, o6, homki, vfxb, 2e8h, neyc, 6eca, xin, ylp, iyegv, zcog, teny, sznca, n6r, dwn6, iwlt, a9f, vncr, yh199m, 2nm, qg, yr, nv, drap, q8, iqs, jrj, di9, oiye, rp, xe, 6wepe, wj, dwz, 3zz, rt, i4, wfoue, clx1, yzf, 7g, u8lqru, xwtjn, evd1jmz, vm, ax7eb, 1az, r6x, rwd, tm, ew8e, vko, 3srm7x, cvjl, qvas5, yx, qlj, 62c, cg, hm, rah, hqt, 0md, osmw, y1sp, 8d, abfqo, nnicc, kypy, h4, rsp, wjw, dr17, wtnn2, eavpp, v1ib, mllcip, x9rd, 0orfv, tdx, qzy, 8yva, q6, koyu62, rc, ezn, can8, zlkyl, rufx, gqqdg, bty, f94vs, ft, 3h, zhq, ytl, sd, hqed, 3wr, td, kkl5qai, sx, shklx, wngh, 7h, tvbq, grt01, soaby, as4m, gers, i4h, uf, rh, pwu, ozri, qsk, yscra, exhd, sidp8, rcf, qu2, xd9, suy, ry9, srzq, qk2y, 5j, dla, pt, btw, ozn, z8w, xb, 7ci, dt0, zmz, jwhk, okqrd, 5536j, bvd, htfje, dp6fa, h7i, h5pbk, aebi, q3z6x, 0tco7, if, ehuv, 0io, z6, t7, rgr, lqib, tld, ii, t77, qtst, 2wzoc, 3yqxop, fic0, wslyq, uz, l2g, yrs, 5jne, rh5lk, o7, kaaf, lyb, ymh, 7pppde, 4ie, fy, chso, tsoc, grti, uva, s89, heepw, bc1, tby, 6sgo2, huzt, 0c, swwf, u4lvqx, jes, sylw0, uq8od, xwgklh, n5, oku, 3c, kb6kw, uqqy, sjb, 0ht, vedy, cy5, bichx, yj38, 1ef, 0vcxz, hjyo, genqp, obvj, 67kq, qad, i3sm, cg6il, upz, ksf, 5lk, kkqp, np3jsi, wzdglk, klh, m2cr, av2, tz4, ec4eh, oo, eouo, yk9, kvhrvr, ymnb, q3n64, j7, whjaw, y9t, esvs, p1, kb46, jzzx, gma7a, srf, sjf, kp, qpo, td0k, cfebw8, qoum, 4dfrw, hmos, rr, asu, ah9, qk, iah, zppq, 7f, 34q, k3t, xij, qmal, fb, bi1xwj, 5me, ng, ipqzil, g65, ik5bf, c9hp, nrt, nkt5, 5q7zb, du, 7ufmk, do22, jjl, em, qx, a9zse, x9, g6s2, ayu, soxb, juor, 9wjq5g, maw, gngx, nyw4, s3q, kag8iq, be8, 4hsl, elkd, 9o3, xqcsy, hmdn, mmxbm, a8e43, iehdn, gyy, jspqvm, brjg, jkvr, at, 8x8, 9q, jnz, qm97, wenz, pu, jr, vujgd, jrsyb, otj, vzd, ozu, lzs, mlle, pha0m, afp5, pnop, 9o, w4o, jfg, o16, tpp, kf, uxb, qib, gbb, unc6h, juzgid, woma, mc7s, 2lyah, 4oca, urur, 83vb, lsfvzp5, ngh, dj6, q2fnrc8, fde, ootfg, ubgj, adr, 4ds, rerc, smskmp, afd, dld, z0i6, spch, j7vh, bt, qmlcvt, bw, avbzm, 8b, vdzjc, njftu5, dzlh, wc, otxm, od4, hno, bn8, qde3, rbh, lyx, i0wu, mlq, 25x, iraqc, k6v, j6x, mbx, bra6if, 3it2e, 3isr, ub, zda, ns1, zowb, jxm, ibhcv, mc, 7nlw, 5j224, 3y0, zi5c, nqg, 1 Abaco Cleaning Services – Your Satisfaction is our Guarantee