Skip to content

Migrate base64 images to file uploads in WYSIWYG editor #7713

@andreslucena

Description

@andreslucena

Ref: OM42 / DECOM-25

Is your feature request related to a problem? Please describe.
As a visitor legacy images from QuillJS that were uploaded through drag and drop are with base64.

Describe the solution you'd like
That these images are uploaded to the static files server. This should be done with a rake task or a database migration, but making changes in the contents through a migration is actually an open debate at the moment.
If there's a manual task to be done by implementers then we should add a few lines in the CHANGELOG so it's in the Releases notes for the version.

Describe alternatives you've considered
To not migrate them, but this means that we have lots of content in the database with all these means (for instance much bigger backups)

Additional context
Related closely with "File upload in WYSIWYG editor" (ref OM25)

Does this issue could impact on users private data?
No, it's about adding images.

Acceptance criteria

  • As a visitor when I visit a legacy page that had base64 images I see that they're now static files
  • As an implementer I have some documentation in the CHANGELOG on how to run this task

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions