A world-class math input for the web
1import { CaretNode, IsErrorNodeTag } from "../node";
2import { h, VNode } from "../vdom";
3
4export class MissingNode extends CaretNode {
5 constructor() {
6 super();
7 this.addTag(new IsErrorNodeTag());
8 }
9
10 static from() {
11 return new MissingNode();
12 }
13
14 toDebugMathML(): VNode {
15 return h("mrow", {});
16 }
17}