File tree Expand file tree Collapse file tree 3 files changed +2
-213
lines changed
src/schedule-and-details/introducing-section Expand file tree Collapse file tree 3 files changed +2
-213
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { WysiwygEditor } from '../../generic/WysiwygEditor';
1111import SectionSubHeader from '../../generic/section-sub-header' ;
1212import IntroductionVideo from './introduction-video' ;
1313import ExtendedCourseDetails from './extended-course-details' ;
14- import { determineEditorType } from './contentTypeUtils' ;
1514import messages from './messages' ;
1615
1716const IntroducingSection = ( {
@@ -113,7 +112,7 @@ const IntroducingSection = ({
113112 < Form . Label > { intl . formatMessage ( messages . courseOverviewLabel ) } </ Form . Label >
114113 < WysiwygEditor
115114 initialValue = { overview }
116- editorType = { determineEditorType ( overview ) }
115+ editorType = "html"
117116 onChange = { ( value ) => onChange ( value , 'overview' ) }
118117 />
119118 < Form . Control . Feedback > { overviewHelpText } </ Form . Control . Feedback >
@@ -123,7 +122,7 @@ const IntroducingSection = ({
123122 < Form . Label > { intl . formatMessage ( messages . courseAboutSidebarLabel ) } </ Form . Label >
124123 < WysiwygEditor
125124 initialValue = { aboutSidebarHtml }
126- editorType = { determineEditorType ( aboutSidebarHtml ) }
125+ editorType = "html"
127126 onChange = { ( value ) => onChange ( value , 'aboutSidebarHtml' ) }
128127 />
129128 < Form . Control . Feedback > { aboutSidebarHelpText } </ Form . Control . Feedback >
You can’t perform that action at this time.
0 commit comments