fix: Schedule and Details page was not loading (#1527)
The page relied on obscure behavior of setting "isLibrary" to disable image uploads even in a course context. This commit refactors to use an explicit enableImageUpload prop in TinyMceWidget.
This commit is contained in:
@@ -59,7 +59,7 @@ export const WysiwygEditor = ({
|
||||
initializeEditor={() => ({})}
|
||||
learningContextId={courseId}
|
||||
images={{}}
|
||||
isLibrary
|
||||
enableImageUpload={false}
|
||||
onEditorChange={() => ({})}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user