Closed (fixed)
Project:
Paragraphs Clipboard
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2025 at 13:05 UTC
Updated:
4 Aug 2025 at 11:09 UTC
Jump to comment: Most recent
Comments
Comment #2
hhvardan commentedComment #4
hhvardan commentedUpdated the paste from clipboard functionality so that the “Paste from clipboard” button is always visible in the UI, but it is disabled when the clipboard content is not allowed for the current field.
Paste action will not succeed if the content is not valid for the field.
Comment #5
blyme commentedThanks for the quick response! I can verify that the patch works, so I'm fine with the issue being closed when merged.
The patch makes it so that the user would have to reload the page in order for the "Paste from clipboard"-button to be active. If we could trigger it using AJAX, that would make the user experience much better.
Comment #7
hhvardan commentedThanks for testing! You’re right — the current patch requires a page reload to update the paste button state. I'll create a follow-up issue to improve UX by updating the clipboard state via AJAX.