From aad4f4c3e9e79d522d178285fbfdcc02c5834c46 Mon Sep 17 00:00:00 2001 From: jessop Date: Fri, 28 Jun 2019 22:24:46 -0400 Subject: [PATCH] fixes publish form update for description --- src/ui/component/publishText/view.jsx | 2 +- static/locales/en.json | 46 +++++++++++++++++++++++++-- 2 files changed, 45 insertions(+), 3 deletions(-) diff --git a/src/ui/component/publishText/view.jsx b/src/ui/component/publishText/view.jsx index a749c6d6b..b00442e8d 100644 --- a/src/ui/component/publishText/view.jsx +++ b/src/ui/component/publishText/view.jsx @@ -38,7 +38,7 @@ function PublishText(props: Props) { placeholder={__('My description for this and that')} value={description} disabled={disabled} - onChange={value => updatePublishForm({ description: advancedEditor ? value : value.target.text })} + onChange={value => updatePublishForm({ description: advancedEditor ? value : value.target.value })} />