S
S
Sergey Nizhny Novgorod2016-07-22 02:22:41
Django
Sergey Nizhny Novgorod, 2016-07-22 02:22:41

How to increase width for django-ckeditor but still make it responsive?

Hello.
Situation:
download?id=XBDWaWgI4LOWSyI4KlMR3lnYUOpC
It turns out that either I can fix the width:
'width': '900',
Or I can make it adaptive, in which the maximum width is limited by the toolbar, and I can't increase it in any way.
'width': '100%',
Has anyone dealt with this situation? How can I save the responsive and increase its width without adding elements to the toolbar?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Nizhny Novgorod, 2016-07-22
@Terras

Solution - crutch:

<script>

    $(document).ready ( function(){
        $(".django-ckeditor-widget").css({"width" : "100%"});
    });

</script>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question