Support Forum

TinyMCE Editor Dialog Boxes Too Small

PT Philip Treacy
Philip Treacy
Member

Hi,

As the topic title says, when I try to insert a link, image or media the dialog boxes are too narrow.

If I edit source code or insert a special character, those boxes are displayed ok.

Regards

Phil

https://www.myonlinetraininghub.com/excel-forum/

 

link boxinsert image

2 Answers

New Answer

JP Joakim (Simple:Press)
Joakim (Simple:Press)
Admin

Hi Philip!

The reason that your inputs are to big has to do with your theme “mai-engine”. The plugin adds padding to the inputs that make the inline styles calculate a height and width that makes the inputs look off. When using any of the supported themes twentytwenty or twentytwentythree the inputs are shown correctly.

If you could add some custom CSS to the theme this should solve it.

body .mce-combobox .mce-textbox, body .mce-container-body .mce-textbox {
    padding: 0;
}

Regards,
Joakim @ Simple:Press

PT Philip Treacy
Philip Treacy
Member

Thanks.  I had to add some additional CSS to show the boxes at a usable size but this is kinda working for now.

Is it possible to code the CSS so that a theme can’t interfere like this?  Or at least make it so that it’s an easy fix if there is some issue?

Regards

Phil