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.

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



Community Member, 1 Post

28 June 2013 at 9:31am

Edited: 29/06/2013 7:14am


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


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.