darklow / django-suit-redactor

Imperavi Readactor (WYSIWYG editor) integration app for Django admin
26 stars 21 forks source link

Django-CMS plugin inline #3

Closed leesolway closed 10 years ago

leesolway commented 11 years ago

When using the Editor within a Django CMS Plugin - Tabular Inline, it is almost unuseable. The Editor is squashed into a very small area if more than one field is specified.

darklow commented 11 years ago

I don't think there is anything we can do about it. Horizontal menu layout for django-suit would help to save some space, but i can't promise when that feature will be added.

You can try to configure editor to run in "Air Mode", it could save some space. http://imperavi.com/redactor/examples/air/

leesolway commented 11 years ago

There is plenty of horizontal space for the editor however it just renders tiny.. Would it be possible to manually set a width on the editor as a config option or render it with a bigger default?

Thanks for looking into the issue. Suit is an awesome project.

darklow commented 11 years ago

There are at least two ways of setting custom width.

First - you can set any redactor option by using editor_options: http://django-suit.readthedocs.org/en/develop/wysiwyg.html

Second - since by default editor stretches 100% of parent width, all you need to do is set custom width for parent container using CSS.

leesolway commented 10 years ago

Ok, thanks for the response. I will close off the issue.