Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
ParagraphContinuedService.js 516 B
import { Service } from 'wax-prosemirror-core';
import paragraphContNode from './schema/paragraphContNode';
import ParagraphContinued from './ParagraphContinued';

class ParagraphContinuedService extends Service {
  register() {
    this.container.bind('ParagraphContinued').to(ParagraphContinued);
    const createNode = this.container.get('CreateNode');
    createNode(
      {
        paragraphCont: paragraphContNode,
      },
      { toWaxSchema: true },
    );
  }
}

export default ParagraphContinuedService;