22977 Posts in 11806 Topics by 2826 members
|Go to End|
15 October 2012 at 3:11pm
I added new HtmlEditorField(s) to the main tab and all is fine.
However, the label for the field is floated to the left instead of sitting above the field like the default "Content" field.
21 October 2012 at 1:10pm
Can anybody provide some insight?
29 October 2012 at 5:50pm
11 June 2013 at 9:54pm Last edited: 11 June 2013 9:57pm
I too was looking into how to make the HTMLEditorField underneath the label, and after playing around with CSS in Developer Tools in FireFox,
I have found out that the default "Content" Field has a class named "stacked" added to thebut in the other HTMLEditorField(s) that developers add using $fields don't. I will figure out how to get those added by $field stacked and let you know how I go.
<div id="Content" class="field htmleditor stacked">
11 June 2013 at 10:32pm
In getCMSFields(), do the following:
$myField = new HTMLEditorField('MyHTMLField', 'My HTML Field');
|Go to Top|