superlistapp / super_editor

A Flutter toolkit for building document editors and readers
https://superlist.com/SuperEditor/
MIT License
1.66k stars 243 forks source link

[iOS] Support native edit menu + Secure Paste #2032

Closed BazinC closed 1 week ago

BazinC commented 4 months ago

Recently Flutter team worked on [ios_edit_menu]add native edit menu, unlocking Flutter should support iOS 15's Secure Paste feature

I think SuperEditor should aim feature parity here. Currently, everytime you paste something from another app you will get a pop up. End user is annoyed.

angelosilvestre commented 4 months ago

I think @Jethro87 also mentioned something about using the native context menu a while ago.

Jethro87 commented 4 months ago

@angelosilvestre Yes, we would also like this.

matthew-carroll commented 4 months ago

I did some investigation into the design doc and merged PR. I also started poking around Flutter's built-in text field to see where this behavior is exposed.

It looks like the referenced PR may have been reverted in Flutter (undone). If that's the case, then we're back to waiting on a lasting merge of that behavior.

alvindrakes commented 3 months ago

I did some investigation into the design doc and merged PR. I also started poking around Flutter's built-in text field to see where this behavior is exposed.

It looks like the referenced PR may have been reverted in Flutter (undone). If that's the case, then we're back to waiting on a lasting merge of that behavior.

Hey Matthew, I am currently looking into the secure paste implementation too.

Running Flutter 3.22.2 atm, but looks like SystemContextMenu is not exposed atm?