Skip to content

Controller - Copy Paste, retain formatting (web) #8

Open
@adrian-moisa

Description

@adrian-moisa

Controller - Copy Paste, retain formatting (web) #8

I don't know if this behavior was ever present in Quill. I think it was if I correctly recall some comments. But for sure I want it in the Visual Editor version. Including copying of custom attributes. I'm using custom attributes to inject various DB ids in the text at precise positions. So I want to preserve them on copy paste.

edit
Apparently this works on mobile and there's code that supports this feature. However it is not working on the web. When it's added to the web, we have to be aware that we might not be able to copy paste text between tabs of the same browser. For adding to web there are utils already in place that store the styling in the state store to be later reused. The challenge will be passing this state between tabs. Most likely we will need to store the styling as well in the clipboard somehow. Trouble is that copy pasting in notepad will yield the entire json plain text + styling

Embeds - Paste Images #168

  • Use pasteboard to add ability to paste images from clipboard
  • Demo page, document, test
  • Ref - 950 - Their implementation is fundamentally broken. They are basically asking every single client to request focus after buttons are pressed. This is terrible design. This should be handled by the lib since it already has access to this node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions