Fix problems with marked@4.x#825
Conversation
The 4.0.0 release of the `marked` package contains a breaking change that - guess what - breaks the SimpleMDE's script. The main change is that the `marked` package does NOT provide a default export anymore. For more information please see [the release notes for `marked@4.0.0`](https://github.com/markedjs/marked/releases/tag/v4.0.0).
The 4.0.0 release of the `marked` package contains a breaking change that - guess what - breaks the <VueSimpleMDE> component. The main change is that the `marked` package does NOT provide a default export anymore. For more information please see the [release notes for `marked@4.0.0`](https://github.com/markedjs/marked/releases/tag/v4.0.0). Also, you might be interested in a [related pull request inside the SimpleMDE repo](sparksuite/simplemde-markdown-editor#825). Co-authored-by: Stanisław Gregor <stanislaw.gregor@movecloser.pl>
|
@WesCossick, @sparksuite-bot, it would be great if you could look into this 🙂 |
|
'simplemde.js?ebfb:1417 Uncaught TypeError: marked is not a function' |
|
I can't believe all the dependencies in The project looks dead anyway since it's been 6 years since any updates. Such a shame, it looks like a wonderful editor. |
|
Indeed @aptkingston, the project is dead, not updated for a pretty long time... It's somehow comforting, that fixing the BTW: You could be interested in the |
|
Yea that definitely solves the problem in this case. I actually found https://github.com/Ionaru/easy-markdown-editor which is a fork of this project which is maintained and actually works! So I'm using that now and it's great. |
|
Thank's for the griff, @aptkingston! I didn't ever see this package before, don't know how! Thank you! |
The 4.0.0 release of the
markedpackage contains a breaking change that - guess what - breaks the SimpleMDE's script. The main change is that themarkedpackage does NOT provide a default export anymore.For more information please see the release notes for
marked@4.0.0.