Skip to content

Feat: support for customize paste function #2156

Open
@CatKevin

Description

@CatKevin

Is there an existing issue for this?

Use case

I copied some content from another software that may contain some parsable emoji, but when I paste them into Quill Editor they can't parse the emoji using the custom parsing method.

Proposal

I found that there are onImagePaste and onGifPaste methods in QuillEditorConfigurations to handle the problem of pasting pictures. I wonder if there should be an onPaste method to handle the pasted content?

Future<String?> Function(Uint8List)? onImagePaste,
  Future<String?> Function(Uint8List)? onGifPaste,

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting responsePending additional information or feedback from the issue creatorenhancementNew feature or requestminorMinimal impact or cosmetic issue. Can be resolved at a later time without affecting overall function

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions