1 import {schema as basicSchema} from "prosemirror-schema-basic";
3 const baseMarks = basicSchema.spec.marks;
6 parseDOM: [{tag: "u"}, {style: "text-decoration=underline"}],
8 return ["span", {style: "text-decoration: underline;"}, 0];
13 parseDOM: [{tag: "s"}, {tag: "strike"}, {style: "text-decoration=line-through"}],
15 return ["span", {style: "text-decoration: line-through;"}, 0];
20 parseDOM: [{tag: "sup"}],
27 parseDOM: [{tag: "sub"}],
33 const marks = baseMarks.append({