Browse Source

revert flutter quill to v0.0.2

appflowy 3 years ago
parent
commit
48e9e75cc7

+ 4 - 3
frontend/app_flowy/lib/workspace/presentation/stack_page/doc/styles.dart

@@ -59,9 +59,10 @@ DefaultStyles customStyles(BuildContext context) {
       small: const TextStyle(fontSize: 12, color: Colors.black45),
       underline: const TextStyle(decoration: TextDecoration.underline),
       strikeThrough: const TextStyle(decoration: TextDecoration.lineThrough),
-      inlineCode: InlineCodeStyle(
-        style: baseStyle,
-        backgroundColor: Colors.blue.shade900.withOpacity(0.9),
+      inlineCode: TextStyle(
+        color: Colors.blue.shade900.withOpacity(0.9),
+        fontFamily: fontFamily,
+        fontSize: 13,
       ),
       link: TextStyle(
         color: themeData.colorScheme.secondary,

+ 5 - 5
frontend/app_flowy/pubspec.lock

@@ -425,7 +425,7 @@ packages:
       name: flutter_colorpicker
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.0.3"
+    version: "0.6.1"
   flutter_inappwebview:
     dependency: transitive
     description:
@@ -477,11 +477,11 @@ packages:
     dependency: "direct main"
     description:
       path: "."
-      ref: "1ce8188c47d3983268067b39a3e8cc8aef898864"
-      resolved-ref: "1ce8188c47d3983268067b39a3e8cc8aef898864"
+      ref: dbc309f5e382963fa0122409a0aaf8e1417d51c1
+      resolved-ref: dbc309f5e382963fa0122409a0aaf8e1417d51c1
       url: "https://github.com/appflowy/flutter-quill.git"
     source: git
-    version: "3.1.0"
+    version: "2.0.13"
   flutter_svg:
     dependency: "direct main"
     description:
@@ -1271,4 +1271,4 @@ packages:
     version: "8.0.0"
 sdks:
   dart: ">=2.15.0-116.0.dev <3.0.0"
-  flutter: ">=2.5.3"
+  flutter: ">=2.5.0"

+ 2 - 2
frontend/app_flowy/pubspec.yaml

@@ -42,7 +42,7 @@ dependencies:
   flutter_quill:
     git:
       url: https://github.com/appflowy/flutter-quill.git
-      ref: 1ce8188c47d3983268067b39a3e8cc8aef898864
+      ref: dbc309f5e382963fa0122409a0aaf8e1417d51c1
 
   #  third party packages
   intl: ^0.17.0
@@ -62,7 +62,7 @@ dependencies:
   styled_widget: "^0.3.1"
   expandable: ^5.0.1
   flutter_svg: ^0.22.0
-  flutter_colorpicker: ^1.0.3
+  flutter_colorpicker: ^0.6.0
   package_info_plus: ^1.3.0
   url_launcher: ^6.0.2
   # file_picker: ^4.2.1