Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement pasting of image content in markdown editor #7385

Open
1 task
reactoholic opened this issue Jan 3, 2025 · 1 comment · May be fixed by #7387
Open
1 task

Implement pasting of image content in markdown editor #7385

reactoholic opened this issue Jan 3, 2025 · 1 comment · May be fixed by #7387
Assignees
Labels
client Rhea Priority Rhea Team Issues and Epics worked on by team Rhea user story

Comments

@reactoholic
Copy link
Contributor

reactoholic commented Jan 3, 2025

Description

As a user I want to be able to cut and paste images into my markdown content, without having to save the image first to disk

Acceptance criteria

  • Allow pasting of image content directly into markdown editor, with an upload to the relevant storage bucket happening in the background
@reactoholic reactoholic added client Rhea Priority Rhea Team Issues and Epics worked on by team Rhea user story labels Jan 3, 2025
@reactoholic reactoholic self-assigned this Jan 3, 2025
@reactoholic reactoholic changed the title Copy of Spike: Allowing pasting of image content in markdown editor Implement pasting of image content in markdown editor Jan 3, 2025
@reactoholic reactoholic linked a pull request Jan 3, 2025 that will close this issue
@reactoholic
Copy link
Contributor Author

The functionality has been implemented successfully, but there is a minor issue with pasting images into the Markdown editor. Specifically, when an image is copied from the internet, it is pasted twice. To prevent this, we need to disable the default pasting behavior of tiptap/react. Unfortunately, doing so also disables the pasting of text in the Markdown editor. This is the last remaining issue that needs to be resolved in order to complete the task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Rhea Priority Rhea Team Issues and Epics worked on by team Rhea user story
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants