Prevent the JSON metadata from being dropped into prose-mirror inputs #30

Closed
opened 2026-02-15 22:01:43 +00:00 by Oliver · 0 comments
Owner

The prose-mirror element specifically pulls the data from DataTransfer that is in the text/plain type, we can prevent the JSON metadata from being dropped by using a different media type (taf/json probably), this will allow us to have custom system-only data in the transfer object, and we can optionally provide a user-friendly string in text/plain for the prose-mirror editor

The prose-mirror element specifically pulls the data from DataTransfer that is in the `text/plain` type, we can prevent the JSON metadata from being dropped by using a different media type (`taf/json` probably), this will allow us to have custom system-only data in the transfer object, and we can optionally provide a user-friendly string in `text/plain` for the prose-mirror editor
Oliver added this to the v2.6.0 milestone 2026-02-15 22:01:43 +00:00
Oliver added the
Priority
Low
Reviewed
Confirmed
Kind
Bug
labels 2026-02-15 22:01:43 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Foundry/taf#30
No description provided.