Closed yalnjooj closed 2 years ago
Hi yalnjooj,
We have validated the reported query "get Error when using "insert special character" with "inlineMode" and we were able to reproduce this error from our end.
On RichTextEditor initial loading, the toolbar element is not rendered in the DOM. So inline RichTextEditor sample try to find the element on initial loading and failed then return the script error.
We have resolved this error by using the quickToolbarOpen event instead of created event.
We also modified the sample for your reference. Sample: https://stackblitz.com/edit/angular-ewbx5u-snb594?file=package.json
Please check the sample and let us know if the solution helps
Regards, Gunasekar
thank you for help, yes it works fine in stackblitz.com but when trying to click Ω button in my local project that what happen:
Provide different object: in stackblitz.com
and my local project:
thanks for help agin...
We suspect the object reference, is not initialized properly. Check the below code blocks for reference.
App.component.html
<ejs-dialog #Dialog />
App.component.ts
@ViewChild('Dialog')
public dialogObj: Dialog;
If you are still facing the reported issue, can you share us a minimal issue reproducible project to validate further on this reported issue ?
Close the issue since has not had any activity for one month.
works fine when using "insert special character" without "inlineMode"
get Error when using "insert special character" with "inlineMode"
full example in stackblitz https://stackblitz.com/edit/angular-ewbx5u?file=app.component.html