PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.10
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.10
4.4.10 4.4.9.1 4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 All 142 releases
← All changes | assets/src/apps/js/blocks/course-elements/course-item-curriculum/edit.js +22 -22 4.3.8 → 4.4.10 View file →
@@ -1,22 +1,22 @@
1 -import { __ } from '@wordpress/i18n';
2 -import { Placeholder } from '@wordpress/components';
3 -import { useBlockProps } from '@wordpress/block-editor';
4 -export const edit = ( props ) => {
5 - const blockProps = useBlockProps();
6 - return (
7 - <div { ...blockProps }>
8 - <Placeholder
9 - label={ __( 'Course item curriculum (Legacy) - Don\'t remove', 'learnpress' ) }
10 - >
11 - <div>
12 - {
13 - __(
14 - 'Displays the course curriculum, including lessons, quizzes, and other learning items, organized by sections or topics!',
15 - 'learnpress'
16 - )
17 - }
18 - </div>
19 - </Placeholder>
20 - </div>
21 - );
22 -};
1 +import { __ } from '@wordpress/i18n';
2 +import { Placeholder } from '@wordpress/components';
3 +import { useBlockProps } from '@wordpress/block-editor';
4 +export const edit = ( props ) => {
5 + const blockProps = useBlockProps();
6 + return (
7 + <div { ...blockProps }>
8 + <Placeholder
9 + label={ __( 'Course item curriculum (Legacy) - Don\'t remove', 'learnpress' ) }
10 + >
11 + <div>
12 + {
13 + __(
14 + 'Displays the course curriculum, including lessons, quizzes, and other learning items, organized by sections or topics!',
15 + 'learnpress'
16 + )
17 + }
18 + </div>
19 + </Placeholder>
20 + </div>
21 + );
22 +};