bevacqua / woofmark

:dog2: Barking up the DOM tree. A modular, progressive, and beautiful Markdown and HTML editor

Home Page:https://bevacqua.github.io/woofmark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ability to intercept Base64 dataURL images before upload (server overload)

jywarren opened this issue · comments

We've seen some dataURL images pasted into posts and that can badly overload our database when it's saved as a string into a text record instead of uploaded separately.

Not sure if this will require code changes, but i'd like to intercept this if possible and upload via as normal images are!

This could be doable in a similar fashion to: #38

At minimum a way to insert a filter to find these so we can do /something/ like show an alert, or prevent upload, or replace them with something.