我正在寻找与 Django 一起使用的所见即所得富文本编辑器。我看过许多不同的编辑器(CKEditor、TinyMCE、Aloha、YUI),但我似乎找不到一个具有一个必要功能的编辑器:动态图像调整大小。
我的意思是能够在编辑器中单击图像的一角并拖动鼠标来调整图像的大小。然后图像周围的内容应该适应新的图像尺寸。此外,编辑器需要具有图像上传功能。
有什么建议吗?
如果它是编辑器+插件组合就很好了。理想情况下,它也能与 Django 很好地集成。
感谢您的帮助!
I am looking for WYSIWYG rich text editor to use with Django. I've looked at a number of different editors (CKEditor, TinyMCE, Aloha, YUI), but I can't seem to find one that has one necessary feature: dynamic image resizing.
What I mean by that is the ability to click a corner of the image in the editor and drag your mouse to resize the image. Content around the image should then adapt to the new image size. As well, the editor needs to have image upload functionality.
Any recommendations?
It's fine if its an editor+plugin combo. Ideally it would also integrate nicely with Django.
Thanks for the help!
发布评论
评论(2)
是的。我也得出了同样的结论。 django-ckeditor 真的很容易使用。
Yup. I came to the same conclusion too. django-ckeditor is really easy to use.
Froala 和 Redactor 非常适合您的情况。不过他们是有报酬的。
QuillJS 是一个免费的替代方案,它允许通过直接将图像作为 base64 编码字符串插入来进行图像操作。
Froala and Redactor are perfect for your case. They're paid though.
QuillJS is a free alternative that allows image manipulations by inserting the image directly as a base64 encoded string.