Skip to content

Commit

Permalink
chore: add minor TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
EchoEllet committed Nov 2, 2024
1 parent a30467c commit bea88f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class QuillNativeBridgeImpl: QuillNativeBridgeApi {
return false
#endif
}
// TODO: Should not hardcode public.html and instead use UTType.html.identifier

func getClipboardHtml() throws -> String? {
guard let htmlData = UIPasteboard.general.data(forPasteboardType: "public.html") else {
Expand Down
1 change: 1 addition & 0 deletions quill_native_bridge_ios/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dev_dependencies:
flutter_lints: ^5.0.0
pigeon: ^22.4.0

# TODO: Support Swift Package Manager for both iOS and macOS https://pub.dev/packages/quill_native_bridge/score
flutter:
plugin:
implements: quill_native_bridge
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// TODO: Avoid importing dart:io directly. https://pub.dev/packages/quill_native_bridge/score
import 'dart:io' as io show Platform;

import 'package:flutter/foundation.dart';
Expand Down

0 comments on commit bea88f1

Please sign in to comment.