ek0519 / nova-quilljs

A Laravel Nova implementation of the Quill editor for Vue.js
26 stars 21 forks source link

Editor Height #4

Closed Milkhan closed 4 years ago

Milkhan commented 4 years ago

Thank you for this great package. Is there any option to set a height for the editor? And is it possible to resize it?

Milkhan commented 4 years ago

I could find a way to set the height:

1- In NovaServiceProvider add a custom css file.

`

public function boot()
{

    parent::boot();

    Nova::style('admin', public_path('css/custom.css')); // Set a custom css file.

}

`

  1. In the custom.css file (public/css/custom.css)

` height:200px !important;

margin-bottom: 50px;

`

I couldn't find a way to make it resizable. This didnt work:

` .ql-container {

resize: both;

overflow: auto;

} `

ek0519 commented 4 years ago

@Milkhan Thanks for your patience and idea, you can upgrade this package, I add two option, you can modify height and width easily.

Milkhan commented 4 years ago

Thank you!