python3 ueditor 继承后没有显示课程详情富文本
来源:13-7 xadmin集成富文本ueditor2
SimonWvW
2018-11-30
1.直接copy的老师的django2.0 extra_apps 中的djangouditor
2.课程详情中没有显示文本框
3js = '<script type="text/javascript" src="%s"></script>' % (settings.STATIC_URL + "ueditor/ueditor.config.js") #自己的静态目录 js += '<script type="text/javascript" src="%s"></script>' % (settings.STATIC_URL + "ueditor/ueditor.all.min.js") #自己的静态目录
这个是要把extra_apps/DjangoUeditor/static/Ueditor 放到 /static 下吗?
写回答
1回答
-
bobby
2018-11-30
这里三步骤不能少
是否导入了djangoueditor 源码放入到extra_apps
是否将ueditor的plugin放入到xadmin并在plugins中配置了这个插件
是否在adminx文件中配置了具体某个字段的ueditor样式?
https://git.imooc.com/coding-78/coding-78/src/py3.6_django2.0/MxOnlie/extra_apps 这里有源码 记得分支选择正确!, 拷贝对应的代码到你的代码中试试, 这里的xadmin我已经集成了plugins这个不用你配置了
032018-12-02
相似问题