CLASSROOMIO-T-214: Add comments feature in lesson

This commit is contained in:
Rotimi Best
2023-10-08 15:34:37 +01:00
parent 0f01e8e574
commit 4f783cbc7c
28 changed files with 411 additions and 398 deletions
+3 -1
View File
@@ -7,7 +7,8 @@
export let onChange = (html: string) => {};
export let height = 300;
export let placeholder = '';
export let editorWindowRef = null;
export let editorWindowRef: Window;
export let maxHeight: number | undefined = undefined;
const apiKey = PUBLIC_TINYMCE_API_KEY;
@@ -24,6 +25,7 @@
],
lists_indent_on_tab: false,
min_height: height,
max_height: maxHeight,
placeholder: placeholder,
init_instance_callback: function (editor: any) {
editorWindowRef = editor.iframeElement?.contentWindow;