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

22 lines (14 loc) 321 B
import CollabServer from '../../collab/CollabServer' class TestCollabServer extends CollabServer { constructor(config) { super(config) this.config.scope = 'substance/collab' } serializeMessage(msg) { return msg } deserializeMessage(msg) { return msg } } export default TestCollabServer