I replaced a tinymce 3 with tinymce 4. Tinymce 4 takes all the width available :
tinyMCE.init({ mode: 'textareas',
theme: 'modern',
width:"808",
height : "480"
});
It ignores the width settings. I use it on a rails admin plugin where i cannot change the surrounding HTML. WHat has change in tinymce 4 that can explain this behavior?
i found that : http://fiddle.tinymce.com/jvdaab/1 i cannot reduce width, if someone can it would be great.
You have to remove the quotes :
width: 300,
height : 480
like this : http://fiddle.tinymce.com/Nzdaab
Wrong :
width: "100",
height : "480"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With