# learnpress/4.4.10/assets/src/apps/js/blocks/single-course-item/item-comment/edit.js

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.4.10. 34 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.4.10/code/assets/src/apps/js/blocks/single-course-item/item-comment/edit.js
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.10/raw/assets/src/apps/js/blocks/single-course-item/item-comment/edit.js
- Modified: 2026-10-09T07:39:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.4.10/code/assets/src/apps/js/blocks/single-course-item/item-comment/edit.js#L10-L20`.

```javascript
import { __ } from '@wordpress/i18n';
import { Placeholder } from '@wordpress/components';
import { useBlockProps } from '@wordpress/block-editor';

const Edit = ( props ) => {
	const blockProps = useBlockProps();

	return (
		<div { ...blockProps }>
			<div className="learn-press-comments">
				<div className="comment-respond">
					<h3 className="comment-reply-title">Leave a Reply</h3>
					<p class="comment-form-comment">
						<label for="comment">
							Comment <span class="required">*</span>
						</label>{ ' ' }
						<textarea name="comment" cols="45" rows="8" maxlength="65525"></textarea>
					</p>
					<p class="form-submit wp-block-button">
						<input
							name="submit"
							type="submit"
							class="submit wp-element-button"
							value="Post Comment"
						/>
					</p>
				</div>
			</div>
		</div>
	);
};

export default Edit;

```
