kadikraman / draftjs-md-converter

Converts content from Draft.js blocks to Markdown and vice versa.
https://kadikraman.github.io/draftjs-md-converter/
MIT License
145 stars 37 forks source link

How to use this in the browser #73

Closed vabatta closed 3 years ago

vabatta commented 3 years ago

The library doesn't work in the browser as it uses path and process, but I don't see the reason for such as it manipulates strings (why the need of process or path).

When I added this to the bundle, webpack failed with Module not found: Error: Can't resolve 'path' in <bundle>

chrisrobbins commented 3 years ago

@vabatta Did you find a solution for this?

vabatta commented 3 years ago

Nope, we ended up by using a custom made library and some quirks workaround.