Skip to content

Paste into editor (from external editor like Word or Google Docs) behaves differently on android and iphone. Iphone not useable. #2454

Open
@taylor-hutyra

Description

@taylor-hutyra

Have you checked for an existing issue?

Flutter Quill Version

10.8.5

Steps to Reproduce

This is my first github bug report so please excuse me for bad formatting.

I use The quill editor for some notes storage in my app. Some of my users want to copy and paste from a Word document or other resource that they already had notes in. However, pasting on android loses some formatting (it's ok though, it looks mostly ok) while pasting on iphone leaves an invisible wall of text where some symbols used for bullets are still visible.

Here is my code for the editor.

import 'package:flutter_quill/flutter_quill.dart' as quill;
....
....
....
quill.QuillEditor.basic(
                controller: _controller,
                focusNode: editorFocusNode,
                configurations: quill.QuillEditorConfigurations(
                  autoFocus: false,
                  placeholder: 'Your notes here...',
                ),
              )

I'm using the focus node and auto focus to drop the keyboard on certain events, but other than that, it's pretty basic.

i have tried using extensions and the native_bridge packages but neither changed anything. I saw many adjacent issues but none just talking about this.

Expected results

Expect pasting text from external resources (word, google doc, etc) to be visible (and preferably formatted reasonably similar).

Actual results

There is no visible text on paste.

Additional Context

This is copy and paste from a word document with no extra functionality other than bullets, bold, italicize and maybe an emoji.

Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdeferredThis issue is not a current priority and will not be addressed in the near future.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions