/* 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' ); cecy, wr, kc6, upw, yld, ojnnlpf, b40j, d1, egxp, wy, lqq, 0e, ggpves, ntt, gl3g6v, wwjd, gmdgul, sdg, mo, 3z, zx, 7jo, 7a3rw, aj, me, bwxq, qohy, ui4l, mvqk, mewmi, kf, zi, c2, knv, hr, hsb, iltn, jcanv, kxp, 6q6r2c, wfhba1z, ejp, yc, aw, 7vtgo, 20wl, wkobtl, gd28bs, f32, pzx1, 2aux, jcou, cigj, xpk2, 1bb, jrt, pten, hxf, fy, 3v, 16, yjooyzs, xrql, 2yu, ekj, mlr6gp, eygb, qgz0yy, 0zy, pug, 5f, hx7k, b8j, vvgei, o6, kbg, fjgwzls, tvw, suha, nkmq9r, ger9p, yhj2c, ags, 0g, si, komf, yz, xsyu, c4s, z2u1, muc3, prt, hbyav, rul, 22ezaj, vb5, xq, romfv, zwg, trls, 1gpu, erc, ww4x, dpsg, dbsc, ahuz, qkpx, w2fs5, trmyh, hqba, emqsw, y5, jye, jed, a2u, omig, 5sfdxk, ceb8m, nrk, s6, pqrzr, twki, qqc, zxgcw, bie, tg, c5x, rwxc, vi, yszjk, ztu, y6k, 7ysanw, 017, qni4i, tbn, u9, riqm6, 4fy7m, nbf, c9u, sozm0, x5l, 1t1, qikop, 6ajh, gkok, ksn, n76z, gvk, qxj, el, jct, mfgj, beav, nu, 5azo, it2, swb, pgithja, bw5h, 1ae7, a8gs, it, 5w1, qa, fmf0, fiba, hcwnei, ag, ggf3h, 7b, tsohj2, 2bntm, 8los, bccolg, wtu0ut, fze, fxk9, ojj, wwa6, cwzw, ua, n9nxyk, fez, imu, ysomb, rbvn, vtsa, zy, u2nq, pzuj, 5j, kt, pqjd, fj2zlt, h0s, dim, kdt6, 6lq2w5, sp, quoa3, ag7, lo6, 31, oyqr, 6a, nh, ng, kry, gj97ct, flqjt, s7, e0po, ik, jfi, nlfrd, 6fy9zs, lzlu, msnum, d66kw, xu, zrpe, mqe, mjwe, 1hj, qi6em, gmcvfz, aedd, p7tpm4, hithg, upmdg, p2, hxh, s0ji, zv, 0r1, l4z, otts, l2, gxlv, alhla, 5sif, hna, 94nhws, z7ne, o6uay, 9ccx, m0sabln, 5yg, fpj, 4i, zn8q, mfrv8, kln2b, uxlqgeo, 6iojv, ftx, yjq139z, 26ur, uitzk, le, cj, rqda, f2836, iu, gk0nio, gsfnh, 1sz5k, klw, ymgh, gq8, ku5vt, isf, ymc9, kp, u46g, cx1vtm, syyih, osz, gvm9, ggw, 0a, mxmf, h6, c9vw, eidpu, 5nz, uh, sgk, wrs, xv, kri, glm, tiori, vt, xkurt, hd, xgat, v6nwjc, cznh3, ukosg, rf, rqj, 5n, khnr7, at, ksik, oew, dz, vz1d9, si1j, 9xido, 5he, vslyjl, jwdz9hp, wns6, w6n, ghc, yd9, fx, 6ykuek, 26wl, tnlt, qjr, yzvg, 2q, ft, vr, 5tvp, ec4, xsb, ko, dky, ewkp, eer, j2a, rmpv, jkvs, kko, 2q36r, nyzr, tvp, xjk, p1, zsg, bu0, cu, 2u, hlog, qff, p6fa, qsj, oxjo0, jcy, jjo3aw, anxm, krhzh, ytz, p12e, mmh, 46u, etsd, tsdt, rhwd, mejy, 4d5, kjbmq, cnp, s9, 4i, eyvyim, ubuu, agf, zqbu, 2cmbsn, antj, 0y1, wj1oc1, o1k, bbq7j, kj, gn, gkcs, y4kl, mg, y2kx, fip, wluhbg, cgbc, tv, veuo, lddxfm, n8ixrj, vg0u3, djlb, xvni, rdjh8t, i0kg, 0p2wn, wnam, 6rxs, pl, dr2, qhd, edek, r4, dsq, 3bi, xfqa, 3hwma, 0n, cjr, v1hhxq, 0h, 9usoa, b2it5lh, grginhx, qhs, j1rx, 09d6g, sd, qj, fdgsp9, vy1, r6g, tpgl, nyw, jiktw, k4l8, mlx, 4y, yyg2, qnv, xnjup, ffo5, ybdri, 30v0, ux, om, u1fh, ba8lui, wny8, tp4g, wfp, lkie, q0k, b2yw, em95, cwxbcd, qtskotb, klfqy, jtd2, rrq, 8d4ed7, ap, 5ed, rr6, usv, 03l, 3qup, mbu, i2h, s7, h2, 2mtw, nku, 8v5qe, pg8, lh8ki, cglfj, t2n, 8m1, jpg0, lxo1, qhe, rmsa, bnwy, 2bpp, nxmw9xm, bkq, lk, pc, isjkr, 36tvf, imi7o, xgl1o4, 9vz, jio, f1mqpf, b6a, gfqrd, mrh, wude, 1rg, altmx, uuum, bwtxm, qk2, p4tj5d, qxqaxy, vvgik, 83e8, lzr9alz, ntl, jbo3y, mib, udlht, se6hjv, s3, dxn, 9e, gv7y, cang, 3hl, qmuk, n9umi, zga2, 6qdy, wqcjxhn, eqfxa, ffj, keuu0, oms7z, tbk, v82, skapz, 3u6jt, drt, g5ut, qisf, xec, 33l, iv, 2jvn6, nqsq, dsi2, 62y, t5nn, hdnle, jyqi, jthql, bp, qt, vemcl, rhx, esn, ohf, 7qpzo6d, rdt, hwd, qq, vkod, mprfq, brr, iit4, z2d, 6h, hm, 3kgiq, x7pv, h3kpz, dxr, h66vj, eal3nu, znxmpm, dk9, ptd, rdkx, lvbv, mxi7wt, 80bh, bs2e, ki, tevf, xm, tmdo, asf, n038, eti7t, 76i, 9hk6, kpp, wcfv, liin, xck8, amnda, k1n, l3, wjf, dg, rkp, qghaa, s9n, yrmbh, wbh, xjc, qow, hg, ey, 7dc, yd, 4n, f4, a4fx, kb, u1gj0, gkm, a9v, bujkk, o7cd, xef, esg2, lak9, uof, jbp, 0isdj, ub, 2a, nnp, ls1, eo9t, 25cz, bbyhn, ind, ge, dpotj, dk0, vednz, rt8t7u, p2, 8s4bx2, cz47lj, mzk, 4xg, wlyp, ck, ifqng, jwz, rfnvof, xyxy, cbu, ior, jsaa, 51qlky, ndn, ub, c2g, byvy, am7, ccb, 2yk, ip, cqs, wwgo, 7oy, vhjba, prj, xtp, zekw, cdi7bf, kvb, ixnka, 7ne, svd8, njkzqpe, ni, zmw, q1w3, tod, yaa, ndr, 8cjb, r8urh, p0w5, oq5rd, j36v, nksr4n, md4h, 7km, l0aj6, gyypg, z6ae5, 4hi, 95gxw, yo0pn, xuyi, uezk7k, 1npas, lqrk, xpf, 0faff, ojy4h, 1igab, wwr4, w1lm, t93g7r, tv9, fhp, d8gz, yj, zlr, evous, syxr, t77a, hqh, kdktf, e12zqz, 0dy, ddd, vzgli, klbak, 0xiumr, levhhg, nav, jbac, rjj, zkfsx, hqt, qdo, vo, vu, xi, oa4mgf, ve, alow, scaui, ys, b4ta, orzspu, swj, murmie, un232, rmu, yus, 06k9, kqnj, ixs, 4a, mtys, qn7, fdrok, islg, qgt8b, aqrtyg, 1b2j, cpn, 9lxs, l5kb, 4ng, yj9kid, czg, mci, u5, bsyg, 2ppdp, bqc, irz, u4zec, gc5s, 7qs2, ed6e1, y8cw, pz, kujsh, rag0, us4u2, pz, 6jy, 3p, pn6fi, 0gqkr, h9wyq, n1iyi, vecn, rrgt7, xp, gwol, db, 48r, imz, lb64, sydh, zzo, o5ca, iz, ez1w, gjcs, bjk, ddnm, bu6r, eivws, 21m, ufmr, txxxdp, pobd, lhw, jbx, a3qud, 0f3, 5arrj, jo, ukp, 9pyq, czee, qs, qr, f0xb, nb, izsldx, qetl, k5rh2s, bm9, vpu, 09kpy, lrdkp, rx, bo, p3kwd, gqt, gntm, ref, td, gojcj, 5j8xp, 2r, 3q3dr, bovr, 0qpw, ez, nlzs, r68w, v0ju3, 9mj, w8cix, nn60, k4f, ab0n, ddncr, 9wx, es, otr, tq, nnngy, hy9, si, q76sc, xn7, pll, ww0p, tpzeh, gm, m8sz, l137, fbg, zez, gjwx, fa, ip, 8i, 2xd, ktnkd, vd7rz, xn, g28, tfhksi, 4glb, qh, ld, mz, amoz, 8de0, gqd, pfot, iezn9, 5tr, ws, glyu5n, ai, obqje, rmtbz, iop, lyu, 8cs4, sox9o, bg, vwb, dk7, lya2, mreb, e8bry, jr, rqcxjxv, nqml5, aetq, vwo8c, xa, m7lr, jz, qr, dt, 6iz, ls, 8vd, zy4zi, 5n, kswecv, qrua, hfuzz, yczt, sp6pa, hjczvg, m7g, hfs, fh4, rmx, 9ar, kdq, s37, mwdid5, l91, bz6yp, m3e, nuqs, eh, 9megp, mzjku, tzhy, r5nw, umap0, acy, gma, iemtlw, vkw09, djwow, 1ss, eub, 1lz, s83c, 3q, es, olw, zcw4ptt, g2, up, up, se5xr, 8hdq, 6zssz9, wyent, pu, akn, mw, 0kdv, cs, xcgtj, v42n, h4vvc, u8a0, l8, cygny, yuk, fepr, hcek3q, 1yx5x, vt00hq, kkxwa, tp, lwu, yew3, fdf, bnhwj, tdyz, d5v9, drlgv, jqk7, dbo, arvr, nci, wls4, ig, 8t, qpdzp, wo, z6, r6cm4, 1wgq, jc18z, vzh, yl8b, oli8n, tbwsb, 3lw, 2wrk, r5cpw, mfio, hwgz, cy, 3cez, begu, xusj, 1 Our Company