Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The given range isn't in document. - when used with react-quill #68

Closed
AbhimanyuG opened this issue Apr 12, 2019 · 3 comments
Closed

The given range isn't in document. - when used with react-quill #68

AbhimanyuG opened this issue Apr 12, 2019 · 3 comments

Comments

@AbhimanyuG
Copy link

Nothing to configure - used default options.

@AbhimanyuG
Copy link
Author

Not this library's issue.

@nichwch
Copy link

nichwch commented May 18, 2020

what was the issue? I'm having the same bug

@mateioprea
Copy link

@nichwch put the mention plugin above your React Component. This will do the trick.

const mention = {
...
}

export default class YourComponent extends Component {

	render() {
		return (
			<ReactQuill
				modules={{mention}}
			/>
		)
	}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants