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.

github_iconTop GitHub Comments

laszlokiralycommented, May 7, 2017

i still get the warning in beta10 when using custom handler, e.g. onClick. removing contentState from props solved the problem for me:

const linkifyPlugin = createLinkifyPlugin({
  component: (props) => {
    const { contentState, ...rest } = props;
    // eslint-disable-next-line no-alert
    return (<a {...rest} onClick={() => alert('link clicked')}/>);
  }
});
0reactions
Ricco1commented, Apr 28, 2017

I can approve that beta10 works fine for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use the draft-js-linkify-plugin function in draft-js ... - Snyk
To help you get started, we've selected a few draft-js-linkify-plugin examples, based on popular ways it is used in public projects.
Read more >
Linkify - DraftJS Plugins - High quality plugins with great UX
In this case, only the linkifyPlugin // is passed in, although it is possible to pass in multiple ... import '@draft-js-plugins/linkify/lib/plugin.css';.
Read more >
draft-js-plugins-linkify bug - CodeSandbox
Activating extension 'vscode.typescript-language-features' failed: Could not find bundled tsserver.js.
Read more >
Cannot get entityMap using @draft-js-plugins/linkify & hashtag ...
Cannot get entityMap using @draft-js-plugins/linkify & hashtag plugin (NextJS) ... component(props) { // eslint-disable-next-line no-alert, ...
Read more >
draft-js-linkify-plugin - npm
Linkify Plugin for DraftJS. Latest version: 2.0.2, last published: 3 years ago. Start using draft-js-linkify-plugin in your project by ...
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