How to use the draft-js-plugins-utils.removeLinkAtSelection function in draft-js-plugins-utils

To help you get started, we’ve selected a few draft-js-plugins-utils 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 LessWrong2 / Lesswrong2 / packages / lesswrong / components / async / editor-plugins / LinkButton / index.js View on Github external
onRemoveLinkAtSelection = () => this.props.setEditorState(
    EditorUtils.removeLinkAtSelection(this.props.getEditorState())
  )
github draft-js-plugins / draft-js-plugins / draft-js-anchor-plugin / src / index.js View on Github external
onRemoveLinkAtSelection={() =>
        store.setEditorState(
          EditorUtils.removeLinkAtSelection(store.getEditorState())
        )
      }

draft-js-plugins-utils

Plugin utilities for draft js

MIT
Latest version published 6 years ago

Package Health Score

72 / 100
Full package analysis