question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow onAddMention to pre-process editorState

See original GitHub issue

The onAddMention is great but it doesn’t allow you to pre-process editorState before adding mention to text.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
freedomlangcommented, Apr 19, 2018

@ericls can’t figure why you need to preprocess ? a user story may help !

0reactions
sibeliuscommented, Sep 9, 2020

reopen if needed

Read more comments on GitHub >

github_iconTop Results From Across the Web

EditorState - Draft.js
EditorState is the top-level state object for the editor. It is an Immutable Record that represents the entire state of a Draft editor, ......
Read more >
Draft-js get mention position in editorState currentContent
I'm using draft-js-mention-plugin and I'm looking for a method that returns the mention position in the whole text (without using indexOf() ).
Read more >
Mention - DraftJS Plugins - High quality plugins with great UX
This plugin allows the user to choose an entry from a list. ... onAddMentionA callback which is triggered whenever the mention is about...
Read more >
How to use the draft-js.EditorState.set function in draft-js - Snyk
To help you get started, we've selected a few draft-js.EditorState.set examples, based on popular ways it is used in public projects.
Read more >
Draft-js - Saving data to the server - React Rocket
import React, { Component } from 'react'; import { EditorState, ... So let's say we're writing a document editor and whenever change our ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found