Skip to content

Instantly share code, notes, and snippets.

declare module 'tiptap-extensions' {
import { Extension, Node, Mark } from "tiptap";
import { NodeSpec } from "prosemirror-model";
export interface PlaceholderOptions {
emptyNodeClass?: string,
emptyNodeText?: string,
showOnlyWhenEditable?: boolean,
showOnlyCurrent?: boolean,
emptyEditorClass: string
declare module 'tiptap-commands' {
import { EditorView } from "prosemirror-view";
import { Transaction, EditorState, Plugin } from "prosemirror-state";
import { InputRule } from "prosemirror-inputrules";
import { NodeType, MarkType } from "prosemirror-model";
export interface DispatchFn {
(tr: Transaction): boolean
}
declare module 'tiptap' {
import {
MarkSpec,
MarkType,
Node as ProsemirrorNode,
NodeSpec,
NodeType,
ParseOptions,
Schema
} from "prosemirror-model";
function AAAAAAAA(direction, north, south, west, east, goo, last_move) {
var result = '';
let forward;
let left;
let right;
let forwardName;
let backName;
let leftName;
let rightName;