UNPKG

@atlaskit/adf-schema

Version:

Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs

15 lines (13 loc) 246 B
import { rule as ruleFactory } from '../../next-schema/generated/nodeTypes'; /** * @name rule_node */ var hrDOM = ['hr']; export var rule = ruleFactory({ parseDOM: [{ tag: 'hr' }], toDOM: function toDOM() { return hrDOM; } });