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

Pasting from GDocs turns single empty line into two empty lines #63

Closed
little-help opened this issue Feb 14, 2025 · 3 comments
Closed
Labels
Is: Issue Something isn't working as intended

Comments

@little-help
Copy link

To Reproduce
Steps to reproduce the behavior:

  1. Click "Create Chapter" on a work (or go to any other text field)
  2. Paste text containing a single empty line paragraph between other paragraphs

The expected behaviour would be that pasting a single empty paragraph embedded in other text would create a single line empty paragraph line in fluff. However, it creates a paragraph containing two empty lines instead

Hardware, Software, Versions:

  • Device: Desktop
  • Browser: Chromium
  • Browser Version: 133.0.6943.53 (Official Build) for Linux Mint (64-bit)

Image
Image

@little-help little-help added the Is: Issue Something isn't working as intended label Feb 14, 2025
@ChiriVulpes
Copy link
Collaborator

Sorry, I probably can't do this, not only do I not know how to override the paste functionality in this text editor, but it would probably also break the functionality for people who create chapters with no blank lines between paragraphs and single empty paragraphs for scene breaks, unless I somehow analysed the pasted text to determine the right way to behave, and that seems like it would end up being more confusing longterm

@ChiriVulpes ChiriVulpes closed this as not planned Won't fix, can't repro, duplicate, stale Feb 18, 2025
@ChiriVulpes
Copy link
Collaborator

Did not correctly interpret this issue, reopening

@ChiriVulpes ChiriVulpes reopened this Feb 18, 2025
@ChiriVulpes
Copy link
Collaborator

Will wait for response here before hacking in my own fix: ProseMirror/prosemirror#1511

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Is: Issue Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

2 participants