Ravi Juneja
Ravi Juneja

Reputation: 49

How to make resizable textarea with editor

I want to make textarea resizable with editor, as its height should be increased according to content, I managed to make textarea resizable but after after applying editor it's not working.

I am using tinymce.js for editor

thanks everyone

Upvotes: 1

Views: 60

Answers (1)

wilsonzlin
wilsonzlin

Reputation: 2230

After you replace the <textarea> with TinyMCE, you'll need to configure the TinyMCE instance. Initialise TinyMCE with the following setting:

theme_advanced_resizing: true

If you don't want horizontal resizing:

theme_advanced_resize_horizontal: false

Upvotes: 3

Related Questions