silverstripe / silverstripe-blog

Blog module for Silverstripe CMS
http://silverstripe.org/blog-module
BSD 2-Clause "Simplified" License
103 stars 169 forks source link

Squished TinyMCE Editor #485

Open zanderwar opened 7 years ago

zanderwar commented 7 years ago

image

robbieaverill commented 7 years ago

Hey @zanderwar, which version of SS4 are you using? I think this field is supposed to be shorter because it's a summary field, do you think it should be larger?

zanderwar commented 7 years ago

RC1 - It should fill the space imho, it looks very... dodgy otherwise

zanderwar commented 7 years ago

If you add the label instead of omitting it, it should make it look better, and give top padding

In hindsight, this isn't actually an "issue", albeit only aesthetically

robbieaverill commented 7 years ago

The reason the gaps are there is that the left is for a field label and right is for right title. I agree with you here personally, but perhaps this should be a framework or admin issue?

robbieaverill commented 7 years ago

Ok, would you be keen to submit a PR for that and we can see how it looks?

zanderwar commented 7 years ago

I believe there might be a

HtmlEditorField::create('Summary', '');

somewhere, might be worth adding the label in

zanderwar commented 7 years ago

image

God that felt good. I'll PR if this is approved here, otherwise can't fathom wasting the time :P

robbieaverill commented 7 years ago

Cc @clarkepaul

clarkepaul commented 7 years ago

Looks good this PR is a definite improvement. Yeah right side space is for the "extra label" which I hope to put into a (?) tooltip so we have more space. Normally TinyMCE areas align far left with the label above on pages but I guess that is custom styles.

Are these changes only applied when nesting in the accordion/expandable areas or general?

zanderwar commented 7 years ago

@clarkepaul The right side label is ugly no matter what, it was great when it used to appear under the field. I would absolutely love the tooltip approach.

robbieaverill commented 6 years ago

We should check that this issue still exists with https://github.com/silverstripe/silverstripe-admin/pull/446 merge into core

robbieaverill commented 6 years ago

Issue still exists