From 79131644ad409aab0c987843a10366fb9f128c5b Mon Sep 17 00:00:00 2001 From: Michal Czaplinski Date: Thu, 14 Apr 2022 20:06:15 -0500 Subject: [PATCH 01/10] Post Comments Form: Add UI elements in the editor --- .../src/post-comments-form/edit.js | 55 ++++++++++++++++++- .../src/post-comments-form/editor.scss | 23 ++++++++ 2 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 packages/block-library/src/post-comments-form/editor.scss diff --git a/packages/block-library/src/post-comments-form/edit.js b/packages/block-library/src/post-comments-form/edit.js index 1d204a508f4b15..d0bea18d12b6dc 100644 --- a/packages/block-library/src/post-comments-form/edit.js +++ b/packages/block-library/src/post-comments-form/edit.js @@ -67,8 +67,59 @@ export default function PostCommentsFormEdit( { ) } - { ( 'open' === commentStatus || isInSiteEditor ) && - __( 'Post Comments Form' ) } + { ( 'open' === commentStatus || isInSiteEditor ) && ( +
+

{ __( 'Leave a Reply' ) }

+
+

+ + event.preventDefault() + } + > + { __( 'Logged in as admin' ) } + + .{ ' ' } + + event.preventDefault() + } + > + { __( 'Log out?' ) } + { ' ' } + + { __( 'Required fields are marked' ) }{ ' ' } + * + +

+

+ +