mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
Use HTMLEditorField for LiteralField (Fixes #268)
This commit is contained in:
parent
71b615b0b6
commit
11dfa1e3ad
@ -72,7 +72,7 @@ class EditableLiteralField extends EditableFormField {
|
||||
}
|
||||
|
||||
public function getFieldConfiguration() {
|
||||
$textAreaField = new TextareaField(
|
||||
$textAreaField = new HTMLEditorField(
|
||||
$this->getSettingName('Content'),
|
||||
"HTML",
|
||||
$this->getContent()
|
||||
|
@ -67,9 +67,9 @@ li.class-UserDefinedForm > a .jstree-pageicon { background-position: 0 -64px; }
|
||||
overflow: hidden;
|
||||
}
|
||||
.FieldEditor .FieldList .EditableFormField * {
|
||||
display: inline;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.FieldEditor .FieldList .EditableFormField .fieldHandler,
|
||||
.FieldEditor .FieldList .EditableFormField .handle {
|
||||
cursor: move;
|
||||
@ -112,10 +112,6 @@ li.class-UserDefinedForm > a .jstree-pageicon { background-position: 0 -64px; }
|
||||
padding: 3px;
|
||||
clear: both;
|
||||
}
|
||||
.FieldEditor .FieldList .EditableFormField .extraOptions * {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.FieldEditor .FieldList .EditableFormField .extraOptions .handle {
|
||||
float: left;
|
||||
margin-right: 3px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user