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._type = "textarea";
this._extraElementProps.options = {
placeholder: this.props.placeholder,
hideIcons: ["guide", "heading", "image", "fullscreen", "side-by-side"],
};
} else if (formFieldFileSelectorTypes.includes(this.props.type)) {

View file

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

View file

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