Editor refact: rename Editor to Client

This commit is contained in:
Zef Hemel
2023-07-14 16:56:20 +02:00
parent f3936f9b2f
commit 16842a1c4b
20 changed files with 47 additions and 49 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ import {
xmlLanguage,
yamlLanguage,
} from "../common/deps.ts";
import { Editor } from "./editor.ts";
import { Client } from "./client.ts";
import { vim } from "./deps.ts";
import { inlineImagesPlugin } from "./cm_plugins/inline_image.ts";
import { cleanModePlugins } from "./cm_plugins/clean.ts";
@@ -63,7 +63,7 @@ import {
} from "./cm_plugins/editor_paste.ts";
export function createEditorState(
editor: Editor,
editor: Client,
pageName: string,
text: string,
readOnly: boolean,