5ini99 / think-editor
ThinkPHP5 编辑器 TagLib
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 7
pkg:composer/5ini99/think-editor
This package is auto-updated.
Last update: 2025-09-21 21:47:11 UTC
README
更新完善中
必须在页面中先引入 TagLib
<!-- 声明使用 TagLib -->
{taglib name="Editor" /}
<!-- 引入 ueditor 使用的静态资源文件 type:编辑器名称,path:编辑器静态资源存放路径 -->
{Editor:assets type="ueditor" path="https://assets.thinkphp.cn/ueditor/" /}
在需要使用 ueditor 编辑器的地方插入
{Editor:ueditor name="content" id="container"}{$item.content}{/Editor:ueditor}