Trumbowyg: Initial height option

Created on 22 Dec 2016  ·  9Comments  ·  Source: Alex-D/Trumbowyg

Is there an option to set the initial height of the editor (in the case of autoGrow)?

question

Most helpful comment

CSS : min-height :)

All 9 comments

I need that too , any solution??

CSS : min-height :)

@Alex-D I already tried that solution, it does not work in the case of auto grow. Can you reopen this issue?

@Alex-D Any progress on this? Do you want me to submit a PR?

If you have the fix, make a PR for sure!

I don't have the time to check the bug, but I can review and merge PRs :)

@Alex-D Ok, I will make an effort to submit one within the next week or so (my users are complaining about this so I am forced to =) )

@Alex-D @razzbee For me, the solution is (as Alex hinted at), to play with these two:

.trumbowyg-box.trumbowyg-editor-visible {
  min-height: 150px;
}

.trumbowyg-editor {
  min-height: 150px;
}

They both affect the initial height of the editor.

@Alex-D I don't think this is going to require a PR.

Aaah :)
Thanks for your test/validation !

Am trying Trumbowyg to see if it will meet my needs, and am having this issue.

My textarea has an initial height of 100px.

Trumbowyg forces it to 300px initially, and doesn't autogrow.

Here is the whole setup
```

Was this page helpful?
0 / 5 - 0 ratings

Related issues

btecu picture btecu  ·  3Comments

mur-wtag picture mur-wtag  ·  3Comments

akupiec picture akupiec  ·  4Comments

tonvanalebeek picture tonvanalebeek  ·  6Comments

Ydalb picture Ydalb  ·  3Comments