editor-js / editor-js/simple-image

Don't use base64 for the URL

Open
#16 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
69
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Whilst it's sometimes nice to have it base64 available, it massively increases the amount of memory the component uses in the browser because it is already displaying the decoded image as well as storing a large duplicate of the image as the URL.

The preference should be to use Blob URL's that can be converted to base64 if needed via a utility function, or lazy access.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.