pat-tinymce allows pasting images as data URLs, resulting in broken images on view
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 57
- Forks
- 103
- Avg merge
- 10h 25m
- Merged PRs (30d)
- 18
Description
As discussed in this community thread, TinyMCE 7 changed the default value of the paste_data_images option to true:
https://www.tiny.cloud/docs/tinymce/latest/copy-and-paste/#paste_data_images
This change allows users to copy and paste images directly into the editor. While the pasted image appears correctly in the editing form, it is broken or missing when viewing the rendered content.
This can lead to a poor user experience and confusion, as users might assume the image was successfully saved.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the repository for the TinyMCE setup and the paste_data_images option, then compare the editor preview with the rendered content described in the issue. Verify the behavior against the TinyMCE 7 paste_data_images documentation and confirm that pasted images remain valid after saving and viewing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100