If I have "mention" in the list of plugins (as shown in the code below) I stop getting onChange and onKeyUp events from TinyMCE.
Using cdn.tinymce.com/4/tinymce.min.js
Any idea why this would be? Are there any full working code examples somewhere using this plugin?
<Mention
dataSource={[
'hello',
'helloooo',
'hello0',
'howdy']}
delimiter={'@'}
/>
<TinyMCE
content={this.props.document.editorState}
config={{
plugins: 'autolink link image lists print preview mention',
toolbar: 'undo redo | bold italic | alignleft aligncenter alignright'
}}
onChange={this.handleEditorChange}
onKeyup={this.handleEditorChange} // ... because onChange isn't enough :-/
/>
If I have "mention" in the list of plugins (as shown in the code below) I stop getting onChange and onKeyUp events from TinyMCE.
Using cdn.tinymce.com/4/tinymce.min.js
Any idea why this would be? Are there any full working code examples somewhere using this plugin?