Open Sridatta7 opened 8 years ago
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?
Can you give a sample code showing how you initialize ckedit and mentionsInput?
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?