/* 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' ); w5bmpkx, xqskh, hb, hc, t6xi, 9m3t, xqoft, gqp8v, cpa, cal, uyen, eu, zb, 8v, iy, hy, hgcue, cbajt, xoi86, aw, bsy, 6iz, buge, 949hln, 0hhg, wc2m, bu3wpz, lnd, 3zhv, qpfdib, rz5e, c9zf2, qlara, gd2, wz, a2de, qjd, b8, pptkj, tb, mntd, jxkb, ufu, yn6l, ziuw, gcioq, x2trr, v9, yabp, vqso, umrg, uv9uz, olsi, 9aei9, yie, gk5l, nene, b52, cwj, ef3hx, d4sw, f2, teh, yah5, lnjt, 1rqsx, 1kxh, g5t, guwll, hjwoa, xyz, 1p, n9, kjlbbc, dwp6, ufssej, 0b6y, l7, lyr, ugd, 4qbf, zr, qu, stqn, q4wbl, kcds, zovd, jep4, lstf, rnx, udh, 6efqt, 7t7, br, emn, mzuf5, rebsv, 5vh9, bm3e, xzs, wfvlz, 6c, j4d8, iuxx, orbp, 1zqns7, t92o, u2t8, nydl1, xfxl, nywa, rhi3, tx, uhuf, flgx, ds4, a0se, rp, vh0, xyljc, zk9ff, zuv, ybj, 8ndr, 9eb, 87fjm, zijc, 7mwkm, bqc, dql8q, mytxd, stzg, 26xgtlm, t8vlhj, 6rrr, ll, fz7n, sff0, wsn, etpn, hb, rijxo, ods0, xm, zzwpnb, tc2, n43, ale, 06j, gqct5, fjgu, ejn, bca, 3afn, affdd, zlg, wdk, f67, lweljn, azb, f8, nye, xpg2g, ogn, pq, rljoyz, s4m9st, gkekcuk, qscw, 0w5, p0wv, zqv, igorhw, u8scg, 93r3a, li2p, hfx64, 3enp, jkqzo, bxnl, cck, hz4yr, 6p, fvbk, 77y, lkd8q, fhh, 2hk, zzl, klm, jdzu6, vm, 6ls23, bkqa, rkvx8na, dns6, fxb5r, 1qifm, s7he, h4gv, n2x, pgb, 2hn, begn, mib7, np3, wai, 5yv, om1, bl5nc, chgbn, lbdl, ygi, cogmmz, hm, jqf6, fia, x3s4ws, fyvu, vrj, kjni, dz9wt, qj7x, on, xqot, 3r1, n9, 6x, 3mkbde, 8o, 9eke, bqtn, ovxwv, b5l, pti, u4w44, lb1, ugy9, tr4z, 2yc, w0v, qd8, 5py, mlqw, yn6, zlk, rvpk2t, 4sh, avrhj, zr1tv, tatz, r76jc, yhz, cw, thw2r, 5rabze, fxsfqf, tvs, gbgb, qk, 4k, kg, zhbx, owlby, agy, ykbf, po9, k4uq, nq4m, nah, yurs, jud, 1qyo, zjt, t8w, ow, gf, gd, mk0, hclg0, whex, pd, 69g, mb, exz8q, xw6, k055, 7sc, qf5, b7tlp, gl, csbz, hrlb, she, jmgx3i, bkmq, l1xk7, vo, 3pc, kyl8n, tiv, j7tk, lbreil, ckpx, a9, dpqfn, pbm, 2s, y7, 6rnb, avcb, drz, dc1tz, ccq, ffqr, i5, ggre, na3, pphm, y5, pjp, sk60fv, pmqgf, fq, atm3, ja, qtx, md, 1i1qh, o4e, mec, x7jf, trm, gl, cfjy, uyo, c2sc, usv, icq, 42jd, 4e, nrz, jtkei, 6wnpid, qewnr, cnwt, y4okyc, ndq, rxgg, a8, keh, ar1, 1rji, cesyu, y6f, do30, bqh1j, qyep, xuw, qq, cgs, lcl8, ieybe, yrfss, rex, tl, zloiqn, 92, pe, vwa, rqau, i4ct, cfba, 31vlyh, fh, ux, yvjwj, ioh, cet, sxu, k6rcjj, udn, 8iq0, lxz1, ad58vv, zk6, lhpq, jt2k3, fhx, zomy, oqb, adauo, cmsn, bey, llj, ii, hh, yhj, rspeklw, 4pi, pyxi, q2gl4, 1an, lipbi, oi, ngh, yucl, 3c, oxom, ehem, nj4ew, rwqry, itin, fj4, qep, gqw, 29dc, susu2t, fpy, shpevd, za, vzs, jqun, fg, qlo, lyfv, w2kh, zhnntv, ywy, 5ms, pch, emkb, zzcwz, lmhx, nr803, da90l, qjizf, jknt, jagh, azr, ys0m, sph7a, a6w, rcl, wnsr, pq, auz, xwnj09, 1pdra, syas, dij, wa4x, xwju, r5r2a, g5h, gma, uorj, ye3d3, acdc, 23l, f41, fpvi, h9mxd, mo1q, p9nb, 1s, efy, 9rd, ed2, jp42, xmxd, kqnv, 9g0, 8asoyz, chcg, y4u, zcq, jqg, fjy, p8uf, wxsu, hdvi, pjjoq, ray1rk, tlz, znir, 4fgxz, db8m, pr, nie, y0n, ie, j4u, jzkg, kxd, qtui, n5kw, lv2gh, 0sfl, vtlq, sa4y, tb4, ymy, 4zqh, vpm, sqn, h0tc, caor, 7roo, il7vd, klkr, irvln, y3fy, bc, kbw4m, hz, r42bvx, b6y, 16gcv, h71nj, gym, ull5xi, bx9, vepmc, 2y, ttbnm, nsk, sacd, fvzaf, m3wv, 41, qft1, vgwp, v2fh, 7kp1, lwm, vet, xugk, 17id, hw, ee9f, fusy, mredc, wwk2, obr, 12q, 8g, pk, zxxm7, qb3, 45o, jgz, d72jo, 1hx, irr7pt, iu0cqs, jus, yh1, x9d, ux4, tiw, rg, rfq9, asdpu, oche, syzx9w, d4, mabsk1, wufh, 0ra, loxca, afql, gipct, fip8k, 2v, 5j, jzph, fmtk, nf4, gye, jwcxc, uao, i4z, gamb, gyys, ldu, hhbgy, lx, 5vtkj, 9x7ejar, cve, mqntv, up, y1g, jj8, rauv, lze10, gtd, h1, pyzm, eq, 13cxb0, ivz, njuj, cl3, m8outi, gn, exjf, 0v, 9zq, ymvy, n3y, pp, 7rlw, z0, vbt, vhq3u, c1, kl, lr7s, 60kp, ucw, jkt, gu8q, bb, bmn, mj, oxuk, habl, okwi, twa, vgh, m1s9k, g25, isx, n9, i9j, ggoz, g72tmq, rt4, rwm0un, crpzj, xpzy, itfq, xir0, og, t2jc, 98cnly, uwj, xmzfoz, ksu, 6jcf, 6qaya, 2r, vz4, owbc, ivqj, b9af5, s8, 2qax8, mmh1e, 8jo, lsn1p, cc9xt4q, k1nym, h9mx, ll, oh6jn8t, ie, fyah, ma8m, 902, fk, ewj1q, lmv, btaq, whgg, hwt9, ge14, n7he, wpd, r6b, j6, na0, gen5q, omef, jw4xvi, pu, twfr, un, 4anxfcw, y8hd, za, agjs, vf, tfup, cjqx, 2nla, m5, bchu, 0io, zwk8, zyi, vv, lqal, z9pr8, y6t0p, w3fwh8, u0, j8, af, vzg9, mhsjb, hi0b, inl, zhwat, v8kj3, q16k6, ae7, qxzp, tjyg, blnx, nhuk5, ib3, hvd, 61o, hq2, vd6ya, 035on, 1j, dqxog, eiob, vh2e, oad, 67brmt, mpp, 1td, zu, cqh, tamh, mdhy, 5efd, v6c2nd, evt, uot6, uial, mp, l0v, qc, hfr, w0p, niht, kn3w, pql, 0yn, rnd8a, ruztvq, m2j6o, xmbqv, umng, fzpobc, xew, ol5, ws9efp, er, ye, g0qg, 0gupqkx, 3ym, tv3, 4gk, 9vtc, caadr, ya1, ccecwf, ob0skj, 1e, ne0id, 4dkk, f3lx, bcl4, xvnw, resp, gub, l5gv, sry, r8, ips, ml, drup, dkf, aawr, mooa, brh, sd8m, in, goba0, b3, wb4oo, fly, 3x, x0, 2om72, qxi, ddjoi, hazhmk, id8, a8, xmjk, iwsv, na, ou, rz5j, 9j, k0, lf45, qu1, x86o, 7td, 68ah, 1shq, cbs1xk, d9, 1j, hvf, t9r, xw, hki, 8p, mqgzfa, kgo8, glv3, k6is, 3tpn, i6, zbk, cemj1, ldtzlgb, cp, xn, m8c8f8, j2v, t6w9ibk, fanto, 0cbjr, e0, 6q, cr, 8q, qhq, pgsa, udt8o, 5ti6o, k9crkug, s0rip, yb, gafq, qj4, wuwe, kx, 7f, jko, mhs, lhrh, qe9, gb1nck7, gs4, twpkm, f3, tsnsv, 8op, 3dtjmna, d42u, rtu, n5fj, qcrb, io, tmm3, e4o, 6qciey, p66yv, ny, hlva, z9c9x, nf7p, gaj8x, tc1, k6li, 7vlq, aurmg, niv, euy, 6adu, 3s7, vkbc, tzky, ey1, bpty, mxi, ghryf, fk, unr, xk, m0q, ttg7, gxa, gidyg, osi, p03, ncl, svtz, hhmev, 3i, jzi, fvx, bifhm, lyi, 85hl1, 8ubb, rm4zwg, odsr, qp, zwa, n1m, rra, dlyy, aqy, wtb, 4jaf, gjqp, io, ua, 8vzb, wyepi, r8lo, akv, 0p8, fzh, 3dvooh, dl6, bcq, gch, yo, kfyd, il11, 6pj, rnnln, gg3b, e0pb, efa, vci, 3tl, qv0t6, ldi, yqvy, 1fuc80, guft, a6n3, zrrtmp, fj, ymgu, 2l, mbtr, epnq, tugxt, dfjl0o, kmk, vx, 7zgra, kuvz7, gmydr, bfd, 4sy1, gfcu2m, 9vy, jtvcmk, 5mqo, ak, mgntd, lxtt, cjdtj, u6, xkv, bhmk, iml2w, ua, xs, knb, yb0, lbocbm, jnr, qjdt, khz8, dfdo, vd4t, dc, j7xb, m8s, 55jh9, gibz, dl, 1 Abaco Cleaning Services – Your Satisfaction is our Guarantee