usds / website-content-editor

Prototype for making editing markdown for USDS websites easier
Other
0 stars 1 forks source link

Download doesn't save resized images #3

Open TomNUSDS opened 8 months ago

TomNUSDS commented 8 months ago

When a MD image is resized in the WYSIWYG editor, it's converted form the MD format to the html <img> format. And when it's downloaded, it isn't saved.

TomNUSDS commented 8 months ago

Disable the ability to resize images until this can be fixed. It's debatable if we should allow images to be resized anyways. It outputs html <img tags instead of markdown.

To reenable to fix:

imagePlugin({imageUploadHandler, disableImageResize: false, ImageDialog: ImageDialogCustom}),

Change to disableImageResize: false