UNPKG

substance

Version:

Substance is a JavaScript library for web-based content editing. It provides building blocks for realizing custom text editors and web-based publishing system. It is developed to power our online editing platform [Substance](http://substance.io).

12 lines (10 loc) 282 B
import { InlineNode, TEXT } from 'substance' import { ANNOS_AND_INLINE_NODES } from './TestArticleConstants' export default class TestInlineNode extends InlineNode { define () { return { type: 'test-inline-node', content: TEXT(ANNOS_AND_INLINE_NODES) } } }