As a content creator I may want to upload images inline to content I'm creating, or link to an externally hosted image. I'd like this process to be easy and not require committing things to Github.
Note that this PR builds on a previous PR Wireframe website layout. While deploying this branch to staging it was revealed that CodeMirror css needed to be imported and included differently with Webpacker in production environment so this PR resolves that as well.
Changes
adds ability to upload images from tinymce editor
allows svg images to be uploaded and to not be treated as binary
updates preview when image is uploaded or removed with change event
handler
Use Images In Content
Reason for Change
From Miro Card:
Note that this PR builds on a previous PR Wireframe website layout. While deploying this branch to staging it was revealed that CodeMirror css needed to be imported and included differently with Webpacker in production environment so this PR resolves that as well.
Changes
Use images in content