<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Provider\RichContent; use Illuminate\Support\Facades\View; use ModStart\Core\Util\HtmlUtil; use Module\Vendor\Html\HtmlConvertUtil; class UEditorRichContentProvider extends AbstractRichContentProvider { const NAME = 'htmlUEditor'; public function name() { return self::NAME; } public function title() { return 'UEditor富文本'; } public function render($MGY9H, $hsART, $EPwwc = array()) { return View::make('module::Vendor.View.widget.richContent.htmlUeditor', array('name' => $MGY9H, 'value' => $hsART, 'param' => $EPwwc))->render(); } public function toHtml($hsART, $RQUmg = null) { $hsART = HtmlUtil::filter($hsART); return parent::toHtml($hsART, $RQUmg); } }