Ellet
Ellet
> All locked memory allocations must be unlocked before their data handle is used. I highly doubted there was an issue since I didn't clearly read the docs so left...
According to [GlobalUnlock function Windows docs](https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-globalunlock): > Note The global functions have greater overhead and provide fewer features than other memory management functions. New applications should use the [heap functions](https://learn.microsoft.com/en-us/windows/desktop/Memory/heap-functions)...
Updated in [this commit](https://github.com/singerdmx/flutter-quill/pull/2230/commits/ec6751fe575e471dd10e05b209b53f0f9b9dfac7). Are there any changes or improvements specific to accessing the Win32 API or related memory management issues? > The pointer is for transient use while locked....
> might have serious unintended consequences. Sure though this is usually when having compatibility issues with older versions, most apps already support version `1.0` and the Flutter team has already...
Similar to HTML, we can't directly copy the input to Windows clipboard, which will cause the image to be invalid when pasting into other apps, not being pasted or missing....
Doesn't seem to be a good solution: ```dart Future copyImageToClipboard(Uint8List imageBytes) async { final tempClipboardImageFileName = 'tempClipboardImage-${DateTime.now().millisecondsSinceEpoch}.png'; final tempImageFile = await File(generateTempFilePath(tempClipboardImageFileName)) .create(recursive: true); try { await tempImageFile.writeAsBytes(imageBytes); final powerShellScript...
I'm thinking about splitting the features of the `quill_native_bridge` package into different packages, so having: - `quill_clipboard` and related packages such as `quill_clipboard_interface`, `quill_clipboard_android` and the others. - `quill_spell_checker` and...
I'm trying to provide the option to customize the clipboard paste behavior, we have [`pasteText()`](https://github.com/singerdmx/flutter-quill/blob/master/lib/src/editor/raw_editor/raw_editor_state.dart#L140-L189) in `QuillRawEditorState` and [`clipboardPaste()`](https://github.com/singerdmx/flutter-quill/blob/master/lib/src/controller/quill_controller.dart#L553-L591) in `QuillController`. Where should the option to customize the paste completely...
I didn't mean to ask for a review too many times (I haven't noticed that). I will ask for a review less often. > I thought we agreed to not...
This PR took longer than expected due to adding a feature to customize clipboard behavior, allowing users to disable the rich clipboard feature (see [this comment](https://github.com/singerdmx/flutter-quill/pull/2230#issuecomment-2386277135)). This feature was unrelated...