【发布时间】:2011-11-26 13:56:43
【问题描述】:
有人知道如何将此wordcount plugin 与现有的 django-ckeditor 应用程序集成吗? https://github.com/dwaiter/django-ckeditor 或 https://github.com/shaunsephton/django-ckeditor/。
具体来说,我被困在第 4 步
对于您的 CKEditor 实例,使用以下 HTML 标记(
content可以是您希望的任何元素名称,只要隐藏字段的元素名称格式为elementWordCount)
<label for="content">Content</label>
<textarea class="ckeditor" name="content"></textarea>
<input name="contentWordCount" type="hidden" value="250" />
我在哪里插入 Input 元素?
顺便说一句,我正在使用小部件。
欢迎使用 wordcount 插件的替代解决方案。
【问题讨论】:
标签: django ckeditor ckeditor-wordcount