← All changes
|
assets/src/apps/js/blocks/single-course-item/item-comment/edit.js
+33
-33
4.3.8
→
4.4.10
View file →
| @@ -1,33 +1,33 @@ | ||
| 1 | -import { __ } from '@wordpress/i18n'; | |
| 2 | -import { Placeholder } from '@wordpress/components'; | |
| 3 | -import { useBlockProps } from '@wordpress/block-editor'; | |
| 4 | - | |
| 5 | -const Edit = ( props ) => { | |
| 6 | - const blockProps = useBlockProps(); | |
| 7 | - | |
| 8 | - return ( | |
| 9 | - <div { ...blockProps }> | |
| 10 | - <div className="learn-press-comments"> | |
| 11 | - <div className="comment-respond"> | |
| 12 | - <h3 className="comment-reply-title">Leave a Reply</h3> | |
| 13 | - <p class="comment-form-comment"> | |
| 14 | - <label for="comment"> | |
| 15 | - Comment <span class="required">*</span> | |
| 16 | - </label>{ ' ' } | |
| 17 | - <textarea name="comment" cols="45" rows="8" maxlength="65525"></textarea> | |
| 18 | - </p> | |
| 19 | - <p class="form-submit wp-block-button"> | |
| 20 | - <input | |
| 21 | - name="submit" | |
| 22 | - type="submit" | |
| 23 | - class="submit wp-element-button" | |
| 24 | - value="Post Comment" | |
| 25 | - /> | |
| 26 | - </p> | |
| 27 | - </div> | |
| 28 | - </div> | |
| 29 | - </div> | |
| 30 | - ); | |
| 31 | -}; | |
| 32 | - | |
| 33 | -export default Edit; | |
| 1 | +import { __ } from '@wordpress/i18n'; | |
| 2 | +import { Placeholder } from '@wordpress/components'; | |
| 3 | +import { useBlockProps } from '@wordpress/block-editor'; | |
| 4 | + | |
| 5 | +const Edit = ( props ) => { | |
| 6 | + const blockProps = useBlockProps(); | |
| 7 | + | |
| 8 | + return ( | |
| 9 | + <div { ...blockProps }> | |
| 10 | + <div className="learn-press-comments"> | |
| 11 | + <div className="comment-respond"> | |
| 12 | + <h3 className="comment-reply-title">Leave a Reply</h3> | |
| 13 | + <p class="comment-form-comment"> | |
| 14 | + <label for="comment"> | |
| 15 | + Comment <span class="required">*</span> | |
| 16 | + </label>{ ' ' } | |
| 17 | + <textarea name="comment" cols="45" rows="8" maxlength="65525"></textarea> | |
| 18 | + </p> | |
| 19 | + <p class="form-submit wp-block-button"> | |
| 20 | + <input | |
| 21 | + name="submit" | |
| 22 | + type="submit" | |
| 23 | + class="submit wp-element-button" | |
| 24 | + value="Post Comment" | |
| 25 | + /> | |
| 26 | + </p> | |
| 27 | + </div> | |
| 28 | + </div> | |
| 29 | + </div> | |
| 30 | + ); | |
| 31 | +}; | |
| 32 | + | |
| 33 | +export default Edit; | |