How to use the draftjs-conductor.serialiseEditorStateToRaw function in draftjs-conductor

To help you get started, we’ve selected a few draftjs-conductor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github springload / draftail / lib / components / DraftailEditor.js View on Github external
saveState() {
    const { onSave } = this.props;
    const editorState = this.getEditorState();

    if (onSave) {
      onSave(serialiseEditorStateToRaw(editorState));
    }
  }

draftjs-conductor

📝✨ Little Draft.js helpers to make rich text editors “just work”

MIT
Latest version published 3 years ago

Package Health Score

54 / 100
Full package analysis