Teradata / covalent

Teradata UI Platform built on Angular Material
https://teradata.github.io/covalent/
MIT License
2.23k stars 358 forks source link

text-editor not working with angular 12 #1940

Closed ouassimBenMosbah closed 2 years ago

ouassimBenMosbah commented 2 years ago

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 commented 2 years ago

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

owilliams320 commented 2 years ago

:tada: This issue has been resolved in version 4.1.11 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

ouassimBenMosbah commented 2 years ago

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 commented 2 years ago

@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 commented 1 year ago

@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