You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love this library and it was really easy to get it going but while I understand the need to have minified JS files for speed, having un-minified versions of the editor.js file would make it much easier to create truly customizable. Can this be provided in the near future? Thanks.
The text was updated successfully, but these errors were encountered:
I'm not 100% sure I understand which advantages you'd get compared to reading the code since the code will still be processed by the bundler. A >800kb JS file isn't exactly readable after all :-)
You could try commenting out the minify:true line in esbuild.mjs and running yarn prod once to recreate the unminified but bundled JS file. I'm also attaching it here:
I prefer reading the source code in https://github.com/matthiask/django-prose-editor/tree/main/src or reading the official ProseMirror docs https://prosemirror.net/docs/ or even the ProseMirror code itself when working on an editor. How would having the full unminified but bundled JS be potentially better than this? I'm not against including the bundled JS also, but I'd like to understand why you'd want that instead of the alternatives since it still is a really large blob. Thanks!
I love this library and it was really easy to get it going but while I understand the need to have minified JS files for speed, having un-minified versions of the editor.js file would make it much easier to create truly customizable. Can this be provided in the near future? Thanks.
The text was updated successfully, but these errors were encountered: