syncfusion / ej2-javascript-ui-controls

Syncfusion JavaScript UI controls library offer more than 50+ cross-browser, responsive, and lightweight HTML5 UI controls for building modern web applications.
https://www.syncfusion.com/javascript-ui-controls
Other
400 stars 159 forks source link

get Error when using "insert special character" with "inlineMode" #121

Closed yalnjooj closed 2 years ago

yalnjooj commented 3 years ago

works fine when using "insert special character" without "inlineMode" ex1

get Error when using "insert special character" with "inlineMode" ex2

full example in stackblitz https://stackblitz.com/edit/angular-ewbx5u?file=app.component.html

gunasekar-kuppusamy commented 3 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

yalnjooj commented 3 years ago

thank you for help, yes it works fine in stackblitz.com but when trying to click Ω button in my local project that what happen: image

Provide different object: in stackblitz.com image

and my local project: image

thanks for help agin...

IndrajithSrinivasan commented 2 years ago

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 ?

syncsiva commented 2 years ago

Close the issue since has not had any activity for one month.