O
O
ortsuev332019-11-14 19:18:00
WYSIWYG
ortsuev33, 2019-11-14 19:18:00

How to change the width and height of the Summernote editor?

How to change the width and height of the wysiwyg editor? I tried using the styles for the container, nothing has changed,
maybe they are set somewhere in the code? If so, how to change them?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
ortsuev33, 2019-11-15
@ortsuev33

I'm sorry, I thought wysiwyg was the name of the editor, but it turns out it's just the name of such web editors.
Summernote Editor Name Problem
Solving

$('#description').summernote({
        lang:'ru-Ru',
        height:300,
        maxWidth:1600,
        maxHeight:1800,
        callbacks: {
            onImageUpload: function(files) {
                var el = $(this);
                sendFile(files[0],el);
            }
       }
    });

Properties Height
maxHeight
maxWidht
set width and height

E
Edward, 2019-11-14
@EdOther

5dcd804c039fd999928917.png
Source

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question