Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

edit detail/dimension form before inserting media elements (like img etc.) into html editor


Go to End


853 Views

Avatar
jenst

Community Member, 1 Post

28 June 2013 at 9:31am

Edited: 29/06/2013 7:14am

Hi,

i want to edit the detail/dimension form, that shows up before inserting media elements (like img etc.) into the html editor.
especially the fields style und dimension.

i want to change the style select options and extend the dimension fields to percent values.

the style select has also a z-index bug and gets cutted.

Any tips where to start, what code to edit?

i use silverstripe 3.0.2

thanks!

Edit:
I found the code, for editing the fields (/framework/forms/HtmlEditorField.php ll.727)

I also tried to fix the styles select(dropdown) bug, no success until now, the dropdown gets still cutted by the surrounding fieldset.
As a temporary fix i placed the styles select on top of the other fields in HtmlEditorField.php. So that there is more space between the styles select and the surrounding fieldset ...
I think this must be an css issue, but i dont know exactly which style to change to fix it.