问题标签 [djangocms-text-ckeditor]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
47 浏览

django - CKeditor 4.0.0 - 存在编辑器时无法在移动设备上滚动

我正在 Django 上开发一个使用 djangocms-text-ckeditor 4.0.0 的表单。该页面有几个字段,然后是 CKEditor textarea 字段。当页面加载时,我可以用鼠标滚轮滚动就好了。但是,当使用移动设备通过触摸屏滚动时,除非您触摸 CKEditor 的文本框并上下滑动,否则它不会滚动。触摸该框外的任何地方根本不允许您滚动。我在网上搜索,但没有找到任何似乎可以解决此问题的方法。

0 投票
0 回答
37 浏览

python-3.x - 如何在 djangocms_text_ckeditor 的 HTMLField 中添加外部 js

我在我的项目中使用 djangocms,我想进行一些自定义更改,为此我需要在 djangocms_text_ckeditor 的 HTMLField 中添加一些 js 和 css 文件。我在setting.py中找到了添加css链接的文档,内容如下:

但不知道在djangocms_text_ckeditor的HTMLField中添加js文件。任何帮助将不胜感激。谢谢你。