From ecd90de84a787525667567b15dd19e8ff0d069a3 Mon Sep 17 00:00:00 2001 From: btzr-io Date: Sun, 15 Oct 2017 18:38:47 -0600 Subject: [PATCH] fix markdown placeholder --- ui/js/component/formField/view.jsx | 1 + ui/js/component/publishForm/view.jsx | 5 ++--- ui/scss/component/_tabs.scss | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/js/component/formField/view.jsx b/ui/js/component/formField/view.jsx index 16c73706c..9dea81b70 100644 --- a/ui/js/component/formField/view.jsx +++ b/ui/js/component/formField/view.jsx @@ -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)) { diff --git a/ui/js/component/publishForm/view.jsx b/ui/js/component/publishForm/view.jsx index dcaa60c42..d15967bb1 100644 --- a/ui/js/component/publishForm/view.jsx +++ b/ui/js/component/publishForm/view.jsx @@ -584,12 +584,11 @@ class PublishForm extends React.PureComponent { }} /> -
-

{__("Description")}

-
+
a { height: 38px;