Description
In the Images example, copying an image/visual void node from the editor and pasting it into an external app behaves differently between the live reference site and the current local v2 build.
The live reference can paste visible content into the external target. The local build pastes nothing.
This is specifically about copying the visual image void node itself, not ordinary text copying inside the editor.
Recording
Screenshots attached below:
Local actual behavior:
Live reference expected behavior:
Video attached below:
Screenshots or a short recording should be attached.
Recommended evidence order:
- External target before paste.
- Live reference paste result.
- Local paste result.
Video walkthrough:
- Select/copy the image node from
examples/images.
- Paste into the same external target app.
- Repeat the same action on the live reference site.
- Compare the visible paste result.
Sandbox
No standalone sandbox. Reproduced in the Slate Images example.
Local reproduction URL:
http://localhost:3100/examples/images
Reference URL:
https://www.slatejs.org/examples/images
Steps
To reproduce the behavior:
- Open
examples/images in the local Slate examples site.
- Select the actual image/visual void node in the editor.
- Copy it, for example with
Cmd+C.
- Paste into an external app or text target.
- Repeat the same steps on the live reference site.
Expectation
Copying the image/visual void node should provide clipboard content that can be pasted into the same external target, matching the live reference behavior.
Live reference behavior:
- On
https://www.slatejs.org/examples/images, copying the image/visual void node and pasting into the external target produces visible pasted content.
Actual behavior
On the live reference site, pasting the copied image node into the external target produces visible pasted content.
On the local v2 build, pasting the copied image node into the same external target produces no visible content.
Local actual behavior:
- On
http://localhost:3100/examples/images, copying the same kind of image/visual void node and pasting into the same external target produces no visible pasted content.
Environment
- Slate branch:
v2
- Current local commit tested:
ce2bd6c6
- Local examples site:
http://localhost:3100
- Reference examples site:
https://www.slatejs.org
- Browser: Chrome on macOS
- OS: macOS
- Example route:
examples/images
Impact
This breaks copy/paste interoperability for image void nodes. Users can copy the visual node from the live reference and paste visible content externally, but the local build appears to place no usable visible content on the clipboard for the same action.
Description
In the Images example, copying an image/visual void node from the editor and pasting it into an external app behaves differently between the live reference site and the current local
v2build.The live reference can paste visible content into the external target. The local build pastes nothing.
This is specifically about copying the visual image void node itself, not ordinary text copying inside the editor.
Recording
Screenshots attached below:
Local actual behavior:
Live reference expected behavior:
Video attached below:
Screenshots or a short recording should be attached.
Recommended evidence order:
Video walkthrough:
examples/images.Sandbox
No standalone sandbox. Reproduced in the Slate Images example.
Local reproduction URL:
http://localhost:3100/examples/imagesReference URL:
https://www.slatejs.org/examples/imagesSteps
To reproduce the behavior:
examples/imagesin the local Slate examples site.Cmd+C.Expectation
Copying the image/visual void node should provide clipboard content that can be pasted into the same external target, matching the live reference behavior.
Live reference behavior:
https://www.slatejs.org/examples/images, copying the image/visual void node and pasting into the external target produces visible pasted content.Actual behavior
On the live reference site, pasting the copied image node into the external target produces visible pasted content.
On the local
v2build, pasting the copied image node into the same external target produces no visible content.Local actual behavior:
http://localhost:3100/examples/images, copying the same kind of image/visual void node and pasting into the same external target produces no visible pasted content.Environment
v2ce2bd6c6http://localhost:3100https://www.slatejs.orgexamples/imagesImpact
This breaks copy/paste interoperability for image void nodes. Users can copy the visual node from the live reference and paste visible content externally, but the local build appears to place no usable visible content on the clipboard for the same action.