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

compatibility with ckeditor #54

Open
Sridatta7 opened this issue Feb 23, 2016 · 1 comment
Open

compatibility with ckeditor #54

Sridatta7 opened this issue Feb 23, 2016 · 1 comment
Labels

Comments

@Sridatta7
Copy link

This is not an issue per se but a query. Is there any way we can make this plugin compatible with ckeditor? I have followed the suggestion mentioned by you and included contenteditable in mentions input.

But this part of the code is throwing me errors -

boundary = document.createRange(); boundary.setStart(node, this.start); boundary.collapse(true); rect = boundary.getClientRects()[0]; posX = rect.left + (window.scrollX || window.pageXOffset); posY = rect.top + rect.height + (window.scrollY || window.pageYOffset);

I am unable to fix the errors found in _setDropdownPosition method. Is there any alternative?

@ivirabyan
Copy link
Owner

Can you give a sample code showing how you initialize ckedit and mentionsInput?

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

No branches or pull requests

2 participants