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).

20 lines (18 loc) 916 B
import AnnotationComponent from './AnnotationComponent' import IsolatedNodeComponent from './IsolatedNodeComponent' import IsolatedInlineNodeComponent from './IsolatedInlineNodeComponent' import TextPropertyComponent from './TextPropertyComponent' import TextPropertyEditor from './TextPropertyEditor' import TextNodeComponent from './TextNodeComponent' import UnsupportedNodeComponent from './UnsupportedNodeComponent' export default { configure (config) { config.addComponent('annotation', AnnotationComponent) config.addComponent('inline-node', IsolatedInlineNodeComponent) config.addComponent('isolated-node', IsolatedNodeComponent) config.addComponent('text-node', TextNodeComponent) config.addComponent('text-property', TextPropertyComponent) config.addComponent('text-property-editor', TextPropertyEditor) config.addComponent('unsupported-node', UnsupportedNodeComponent) } }