Hi,
I am trying to update the Format DropDown List (v2.3.0-rc2)
I have tried the following
Updating the following code in sapphire/forms/HtmlEditorField.php
new HtmlEditorField_dropdown("FormatBlock", "formatSelect", array(
"<p>" => _t('HtmlEditorField.FORMATP', "Paragraph", PR_MEDIUM, '<p> tag'),
"<h1>" => _t('HtmlEditorField.FORMATH1', "Heading 1rr", PR_MEDIUM, '<h1> tag'),
.
.
.
My Updates
.
.
.
Updating the following code in sapphire/lang/en_US.php
$lang['en_US']['HtmlEditorField']['FORMATADDR'] = array(
'Address',
PR_MEDIUM,
'<address> tag'
);
$lang['en_US']['HtmlEditorField']['FORMATH1'] = array(
'Heading 1',
PR_MEDIUM,
'<h1> tag'
);
.
.
.
My Updates
.
.
.
Making changes to either or both of these does not make any difference to the contents of the Format dropdown.
Would anyone have any idea what needs to be done to update the format dropdown, or what I am doing wrong? I am using silverstripe version V2.3.0-rc2.
Many Thanks.