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

Size when init #2

Open
githubjeka opened this issue Jul 11, 2017 · 5 comments
Open

Size when init #2

githubjeka opened this issue Jul 11, 2017 · 5 comments

Comments

@githubjeka
Copy link

When init I see
image

After

image

Unpleasant moment

@JiLiZART
Copy link
Member

I think this is not this widget problem, this is about trumbowyg editor problem.
You can see same behavior if you init this editor without this widget.
And I do not think that it will be right to write some hacky css to solve problem in this widget.

@githubjeka
Copy link
Author

on main page https://alex-d.github.io/Trumbowyg/ first draw rectangle, after - init widget

image

image

It would be nice if these css will added in your package.

@JiLiZART
Copy link
Member

If I add css on my package, I can broke others code who already done its on your own. And this code can broke things when you set width and height of editor manually.

@githubjeka
Copy link
Author

via style ?

@githubjeka
Copy link
Author

githubjeka commented Jul 12, 2017

And may be flag to enable/disable this behavior. Default - false

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

2 participants