Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix(editor): merge typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hejtful committed Mar 27, 2024
1 parent 62a5c96 commit dc03cfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export function Editor({ state, providerUrl, ltik }: EditorProps) {
initialState={state.document}
basicPluginsConfig={basicPluginsConfig}

Check failure on line 35 in src/frontend/editor.tsx

View workflow job for this annotation

GitHub Actions / TypeScript compiles

Type '{ children: (editor: ReactNode) => Element; initialState: { plugin: string; } & { state?: unknown; }; basicPluginsConfig: { enableTextAreaExercise: boolean; allowImageInTableCells: boolean; exerciseVisibleInSuggestion: boolean; allowedChildPlugins: string[]; multimediaConfig: { ...; }; }; customPlugins: ({ ...; } | ...' is not assignable to type 'IntrinsicAttributes & SerloEditorProps'.
customPlugins={customPlugins}
>
{(editor) => {
customizeEditorStrings(editor.i18n)

Check failure on line 39 in src/frontend/editor.tsx

View workflow job for this annotation

GitHub Actions / TypeScript compiles

Property 'i18n' does not exist on type 'ReactNode'.
return (
Expand Down

0 comments on commit dc03cfe

Please sign in to comment.