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.

Release new version of the draft-js-pllugin-editor

See original GitHub issue

In IE <= 10 we get error

Unable to get value of the property 'plugins': object is null or undefined

The old compiled code uses Object.getPrototypeOf which doesn’t work correctly in IE. See babel issue

When I build the master version of the plugin I can see that the compiled code handles inheritance normally: PluginEditor.__proto__ || Object.getPrototypeOf(PluginEditor)

We had to add code which overrides Object.getPrototypeOf to get the plugin working in IE.

Could you release the new version please? Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Hirurg103commented, Oct 25, 2016

Hello @nikgraf. It fixed the issue. Thanks a lot!

1reaction
nikgrafcommented, Oct 24, 2016

@Hirurg103 can you upgrade to 2.0.0-beta5? Might be fixed there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

@draft-js-plugins/editor - npm
Editor for DraftJS Plugins. Latest version: 4.1.3, last published: 8 months ago. Start using @draft-js-plugins/editor in your project by ...
Read more >
Draft.js Plugins - GitHub
Learn about why Draft.js and how to use DraftJS Plugins. In this talk Nik Graf explained the ContentState structure of a Draft.js Editor...
Read more >
Draft-js-plugins-editor NPM
Check Draft-js-plugins-editor 3.0.0 package - Last release 3.0.0 with MIT licence at our NPM packages aggregator and search engine.
Read more >
draft-js-plugins-editor | Yarn - Package Manager
This project adheres to Semantic Versioning. 3.0.0. Upgrade to draft-js v0.11; the new version is incompatible with v0.10; Add typescript typings ...
Read more >
@yuanhao/draft-js-plugins-editor - npm package | Snyk
Editor for DraftJS Plugins For more information about how to use this package see README. Latest version published 6 years ago. License: MIT....
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