We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93241e0 commit 7735bcdCopy full SHA for 7735bcd
draft-js-plugins-editor/src/Editor/index.js
@@ -96,7 +96,7 @@ class PluginEditor extends Component {
96
97
plugins.forEach((plugin) => {
98
Object.keys(plugin).forEach((attrName) => {
99
- if (attrName === 'onChange') return;
+ if (pluginHooks[attrName] || attrName === 'onChange') return;
100
101
if (attrName.indexOf('on') === 0 || attrName.indexOf('handle') === 0) {
102
pluginHooks[attrName] = this.createEventHooks(attrName, plugins);
0 commit comments