<?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($HRrYd, $L58zW, $f_HcG = array()) { return View::make('module::Vendor.View.widget.richContent.htmlUeditor', array('name' => $HRrYd, 'value' => $L58zW, 'param' => $f_HcG))->render(); } public function toHtml($L58zW, $vmgvw = null) { $L58zW = HtmlUtil::filter($L58zW); return parent::toHtml($L58zW, $vmgvw); } }