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

text-editor not working with angular 12 #1940

Closed
ouassimBenMosbah opened this issue May 17, 2022 · 5 comments · Fixed by #1941
Closed

text-editor not working with angular 12 #1940

ouassimBenMosbah opened this issue May 17, 2022 · 5 comments · Fixed by #1941
Labels

Comments

@ouassimBenMosbah
Copy link

ouassimBenMosbah commented May 17, 2022

Describe the bug
I try to instantiate a rich markdown text editor using @covalent/text-editor but I am not able to do it using angular 12, @covalent/text-editor 4.1.8 and easymde 2.16.1

To Reproduce
Here is a reproduction: https://codesandbox.io/s/unruffled-davinci-h76k51?file=/src/app/app.component.html

Expected behavior
I would like the rich markdown editor to instantiate

Additional context
Using angular 8 and @covalent/text-editor 2.1.0 was working fine

@owilliams320
Copy link
Collaborator

@ouassimBenMosbah thanks for the raising this issue. We have a PR out and are looking into getting this published

@owilliams320
Copy link
Collaborator

🎉 This issue has been resolved in version 4.1.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ouassimBenMosbah
Copy link
Author

tada This issue has been resolved in version 4.1.11 tada

The release is available on:

Your semantic-release bot packagerocket

Hello and thank you for your quick answer. Actually I am still experimenting the issue :( Can you confirm that the release should have fixed the issue ?

@owilliams320
Copy link
Collaborator

owilliams320 commented May 24, 2022

@ouassimBenMosbah you must include the easymde file in the scripts portion of your angular.json file

"scripts": ["node_modules/easymde/dist/easymde.min.js"],

@JMCelesti
Copy link

@ouassimBenMosbah you must include the easymde file in the scripts portion of your angular.json file

"scripts": ["node_modules/easymde/dist/easymde.min.js"],

your solution is working well ! thank you

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

Successfully merging a pull request may close this issue.

3 participants