限时免费试用:欢迎注册 api.bigmodel.org ,快速体验大模型 API 接入服务。

ThinkPHP

tp5 上使用ueditor富文本插件

将官方下载的数据包放入static 在需要的地方引入 {js href="__STATIC__/ueditor/ueditor.config.js" /} {js href="__STATIC__/ueditor/ueditor.all.js" /} var ue = UE.getEditor('container',{ // initialFrameWid

作者
王明昌
发布时间
最后更新
将官方下载的数据包放入static 在需要的地方引入

    {js href="__STATIC__/ueditor/ueditor.config.js" /}
    {js href="__STATIC__/ueditor/ueditor.all.js" /}
图片路径的设置 ueditor图片的存放位置 \public\static\ueditor\php\config.json 里面的注释很清楚了,改成自己保存的路径即可
0/500
友善分享您的看法。
反馈邮箱