fix markdown placeholder

This commit is contained in:
btzr-io 2017-10-15 18:38:47 -06:00 committed by Jeremy Kauffman
parent dd2f549eb0
commit ecd90de84a
3 changed files with 4 additions and 3 deletions

View file

@ -48,6 +48,7 @@ class FormField extends React.PureComponent {
this._element = SimpleMDE; this._element = SimpleMDE;
this._type = "textarea"; this._type = "textarea";
this._extraElementProps.options = { this._extraElementProps.options = {
placeholder: this.props.placeholder,
hideIcons: ["guide", "heading", "image", "fullscreen", "side-by-side"], hideIcons: ["guide", "heading", "image", "fullscreen", "side-by-side"],
}; };
} else if (formFieldFileSelectorTypes.includes(this.props.type)) { } else if (formFieldFileSelectorTypes.includes(this.props.type)) {

View file

@ -584,12 +584,11 @@ class PublishForm extends React.PureComponent {
}} }}
/> />
</div> </div>
<div className="card__content"> <div className="card__content" />
<h4>{__("Description")}</h4>
</div>
<div className="card__content"> <div className="card__content">
<FormRow <FormRow
type="SimpleMDE" type="SimpleMDE"
label={__("Description")}
ref="meta_description" ref="meta_description"
name="description" name="description"
value={this.state.meta_description} value={this.state.meta_description}

View file

@ -6,6 +6,7 @@ nav.sub-header
max-width: $width-page-constrained; max-width: $width-page-constrained;
margin-bottom: 40px; margin-bottom: 40px;
border-bottom: var(--divider); border-bottom: var(--divider);
user-select: none;
> a > a
{ {
height: 38px; height: 38px;