diff --git a/web/src/components/PartCell/PartCell.js b/web/src/components/PartCell/PartCell.js index 0bef362..05d736d 100644 --- a/web/src/components/PartCell/PartCell.js +++ b/web/src/components/PartCell/PartCell.js @@ -49,6 +49,13 @@ const UPDATE_PART_MUTATION = gql` updatePart: updatePart(id: $id, input: $input) { id title + description + code + mainImage + userId + Reaction { + emote + } user { id userName diff --git a/web/src/components/PartProfile/PartProfile.js b/web/src/components/PartProfile/PartProfile.js index 8a91baa..7ff2d8e 100644 --- a/web/src/components/PartProfile/PartProfile.js +++ b/web/src/components/PartProfile/PartProfile.js @@ -187,9 +187,13 @@ const PartProfile = ({ {isEditable ? 'Markdown supported' : ''}
editorRef?.current?.focusAtEnd()} + onClick={(e) => + e?.target?.id === 'description-wrap' && + editorRef?.current?.focusAtEnd() + } >