chore: Move editor into codebase (#2930)

This commit is contained in:
Tom Moor
2022-01-19 18:43:15 -08:00
committed by GitHub
parent 266f8c96c4
commit 062016b164
216 changed files with 12417 additions and 382 deletions

1
shared/typings/gemoji.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
declare module "gemoji";

5
shared/typings/markdown-it-mark.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
declare module "markdown-it-mark" {
function plugin(md: any): void;
export = plugin;
}

10
shared/typings/prosemirror-model.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
import "prosemirror-model";
declare module "prosemirror-model" {
interface Slice {
// this method is missing in the DefinitelyTyped type definition, so we
// must patch it here.
// https://github.com/ProseMirror/prosemirror-model/blob/bd13a2329fda39f1c4d09abd8f0db2032bdc8014/src/replace.js#L51
removeBetween(from: number, to: number): Slice;
}
}