Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All my wysihtml5 are 100% height #115

Closed
arthurtalkgoal opened this issue Feb 23, 2015 · 3 comments
Closed

All my wysihtml5 are 100% height #115

arthurtalkgoal opened this issue Feb 23, 2015 · 3 comments

Comments

@arthurtalkgoal
Copy link

Hi,

I found my original textarea height is irrelevant to the wysihtml5.

All editor turns to 100%.

How to set height to auto or pass as parameters?

@Nerian
Copy link
Owner

Nerian commented Feb 25, 2015

Hi,

As far as I know, it should be using the textarea's height.

@Nerian
Copy link
Owner

Nerian commented Feb 25, 2015

That's the behavior I see in the test app: https://github.com/Nerian/bootstrap-wysihtml5-rails/tree/master/testapp

@Ripsnorta
Copy link

If you are using simple_form_for, you can set the height of the textarea by:

<%= f.input :post_content, :as => :text, input_html: { class: 'wysihtml5', style: 'height:350px' } %>

@Nerian Nerian closed this as completed Mar 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants