You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace "A wise quote." with an empty line without formatting
Copy the whole textbox content
Paste into Microsoft Word
Turn on formatting marks
See that the empty line between "... middle of the page, like this:" and "Try it out for yourself!" was not pasted
Expectation
The empty line should be pasted
Environment
Slate Version: latest (0.102.0)
Operating System: Tested on macOS, Windows 10
Browser: Tested on Safari, Firefox
Context
I tried to fix it locally and it seems to work when removing the data-slate-zero-width="n" data-slate-length="0" attributes from the leaf node but you won't be able to edit the text further afterwards
The text was updated successfully, but these errors were encountered:
Description
When having empty lines within the Slate editor, those empty lines will not be pasted into Microsoft Word.
Image
Slate editor with an empty line
Upon copy & pasting into word the empty line is missing
Sandbox
https://www.slatejs.org/examples/richtext
Steps
To reproduce the behavior:
Expectation
The empty line should be pasted
Environment
Context
I tried to fix it locally and it seems to work when removing the
data-slate-zero-width="n" data-slate-length="0"
attributes from the leaf node but you won't be able to edit the text further afterwardsThe text was updated successfully, but these errors were encountered: