Jump to:

5450 Posts in 1672 Topics by 1197 members

Customising the CMS

SilverStripe Forums » Customising the CMS » edit detail/dimension form before inserting media elements (like img etc.) into html editor

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

Page: 1
Go to End
Author Topic: 221 Views
  • jenst
    Avatar
    Community Member
    1 Post

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

    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.

    221 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.