Juan Carlos Ibarra
Juan Carlos Ibarra

Reputation: 1419

Set the height of the entire editor in a tinymce-vue component

Im using this component https://github.com/tinymce/tinymce-vue and I want to set the height of the entire editor to 500 px.

<editor api-key="myapikey" :init="{plugins: 'wordcount,'"></editor>

Upvotes: 2

Views: 1997

Answers (1)

Juan Carlos Ibarra
Juan Carlos Ibarra

Reputation: 1419

I just figure it out, just need to add the height property to the :init prop, like this:

<editor api-key="myapikey" :init="{plugins: 'wordcount',height: 500}"></editor>

Upvotes: 5

Related Questions