富文本编辑器(CKEditor)

首页 数据库管理 呆错图床 广告 会员中心 MarkDown 简易菜单 CKEditor 单页插件 导航菜单
Ckeditor模板调用示例
      {:DcBuildForm([
        'name'     => 'ckeditor_index_index',
        'class'    => 'bg-white py-3',
        'action'   => DcUrl('ckeditor/index/index', '', ''),
        'method'   => 'post',
        'submit'   => lang('submit'),
        'reset'    => lang('reset'),
        'close'    => '',
        'disabled' => false,
        'ajax'     => false,
        'callback' => '',
        'data'     => '',
        'items'    => [
            [
                'type'        => 'editor',
                'name'        => 'editor',
                'id'          => 'editor',
                'value'       => '呆错(DaiCuo)是一款基于ThinkPHP、Bootstrap、Jquery的极速后台开发框架'),
                'widget'      => '100%',
                'height'      => '400px',
                'autofocus'   => false,
                'readonly'    => false,
                'disabled'    => false,
                'required'    => true,
                'class'       => 'row form-group',
                'class_left'  => 'col-12',
                'class_right' => 'col-12',
            ]
        ]
      ])}
    
Ckeditor安全输出
{:DcEditor($string)}
{:DcHtml($string)}
{:DcStrip($string)}

呆错(DaiCuo)是一款基于ThinkPHP、Bootstrap、Jquery的极速后台开发框架