thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.72k stars 2.67k forks source link

TinyMCE height #5797

Open toto975 opened 9 months ago

toto975 commented 9 months ago

Laravel version

9.31

PHP version

8.2.10

Voyager version

1.6

Database

MariaDB 11.2

Description

The height is not set, it's always to 600px. The width is OK.

Steps to reproduce

In the BREAD, add options like this :

{
    "tinymceOptions" : {
        "height": 300,
        "width": 200
    }
}

Expected behavior

The height must be 300px.

Screenshots

No response

Additional context

No response

sahil2565 commented 6 days ago

@toto975 you have to set custom css for the same in public/css/custom.css below is working for me

.tox.tox-tinymce { height: 300px !important; }