← 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 | +}; | |