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

Squished TinyMCE Editor #485

Open
zanderwar opened this issue Nov 1, 2017 · 12 comments
Open

Squished TinyMCE Editor #485

zanderwar opened this issue Nov 1, 2017 · 12 comments

Comments

@zanderwar
Copy link
Contributor

image

@robbieaverill
Copy link
Contributor

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
Copy link
Contributor Author

zanderwar commented Nov 1, 2017

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

@zanderwar
Copy link
Contributor Author

zanderwar commented Nov 1, 2017

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
Copy link
Contributor

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
Copy link
Contributor

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

@zanderwar
Copy link
Contributor Author

I believe there might be a

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

somewhere, might be worth adding the label in

@zanderwar
Copy link
Contributor Author

image

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

@robbieaverill
Copy link
Contributor

Cc @clarkepaul

@clarkepaul
Copy link

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
Copy link
Contributor Author

zanderwar commented Nov 2, 2017

@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
Copy link
Contributor

We should check that this issue still exists with silverstripe/silverstripe-admin#446 merge into core

@robbieaverill
Copy link
Contributor

Issue still exists

muskie9 added a commit to muskie9/silverstripe-blog that referenced this issue May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants