yii2-trumbowyg icon indicating copy to clipboard operation
yii2-trumbowyg copied to clipboard

Size when init

Open githubjeka opened this issue 8 years ago • 5 comments
trafficstars

When init I see image

After

image

Unpleasant moment

githubjeka avatar Jul 11 '17 18:07 githubjeka

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.

JiLiZART avatar Jul 11 '17 21:07 JiLiZART

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.

githubjeka avatar Jul 12 '17 04:07 githubjeka

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.

JiLiZART avatar Jul 12 '17 08:07 JiLiZART

via style ?

githubjeka avatar Jul 12 '17 08:07 githubjeka

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

githubjeka avatar Jul 12 '17 08:07 githubjeka