planet
planet copied to clipboard
Self-host EasyMDE assets – impact 50, feasibility 70
Bundle EasyMDE locally and load it lazily for the markdown editor.
Summary
- add EasyMDE as an npm dependency and copy its stylesheet into the build assets so the editor can be served locally
- create an EasyMDE loader service that injects the stylesheet and attaches the library to window before the Covalent editor boots
- update the markdown textbox component to wait for the loader and only render the text editor when EasyMDE is ready
Testing
- npm run lint
- CI=1 npm run build
https://chatgpt.com/codex/tasks/task_e_68d5d294c5b8832b9360df8aa24778a7