You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: client/src/tinymce-config.mts
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,9 +25,10 @@ import {
25
25
RawEditorOptions,
26
26
TinyMCE,
27
27
}from"tinymce";
28
-
// TODO: The type of tinymce is broken; I don't know why. Here's a workaround.
28
+
// This is taken from the [TinyMCE example code](https://github.com/tinymce/tinymce/blob/main/modules/tinymce/src/core/demo/ts/demo/TinyMceDemo.ts). However, esbuild doesn't accept it.
29
+
//export declare const tinymce: TinyMCE;
30
+
// Here's a workaround.
29
31
exportconsttinymce=tinymce_asunknownasTinyMCE;
30
-
export{Editor};
31
32
32
33
// Default icons are required for TinyMCE 5.3 or above.
0 commit comments