Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CB-461: Replace SimpleMDE library with EasyMDE #501

Merged
merged 2 commits into from
Oct 31, 2023
Merged

Conversation

MonkeyDo
Copy link
Contributor

@MonkeyDo MonkeyDo commented Oct 31, 2023

Tackling this long-standing security ticket for SimpleMDE, which happens to be abandoned, and won't have these security issues fixed: https://tickets.metabrainz.org/browse/SEC-163

Instead, a drop-in replacement fork EasyMDE exists ! Woo !

I also tweaked the Webpack config to allow us to import css files (and not just less files) instead of loading the css from a CDN as it was done previously.

As a pretty strong positive side effect, after testing it seems like the editor's preview option is broken in production, and will be fixed by this upgrade.

image

SimpleMDE has been deprecated for years, but a drop-in replacement fork thankfully exists !
Copy link

Test Results

201 tests  ±0   201 ✔️ ±0   10m 12s ⏱️ -16s
    1 suites ±0       0 💤 ±0 
    1 files   ±0       0 ±0 

Results for commit 48beef7. ± Comparison against base commit 16dc198.

@MonkeyDo MonkeyDo merged commit 1ff9d6e into master Oct 31, 2023
4 checks passed
@MonkeyDo MonkeyDo deleted the replace-simplemde branch October 31, 2023 16:42
@MonkeyDo MonkeyDo changed the title Replace SimpleMDE library with EasyMDE CB-461: Replace SimpleMDE library with EasyMDE Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant