Files
tools/vue/editor/src/marks/highlight.ts
T
robonen 09272dffeb feat(editor): eslint/tsconfig migration + type fixes
@robonen/editor: migrate to eslint flat config + composite tsconfig; fix
convergence test type annotations.
2026-06-07 16:30:05 +07:00

13 lines
271 B
TypeScript

import { defineMark } from '../registry';
export const highlight = defineMark({
type: 'highlight',
spec: {
inclusive: true,
rank: 5,
toDOM: () => ['mark', 0],
parseDOM: [{ tag: 'mark' }],
},
meta: { title: 'Highlight', icon: 'highlighter' },
});