Skip to content

Commit be6a3cc

Browse files
authored
Merge pull request #869 from LucasXu0/documentation/flowy_editor
Documentation for AppFlowyEditor
2 parents 515ad46 + b8434cc commit be6a3cc

File tree

265 files changed

+2376
-1510
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

265 files changed

+2376
-1510
lines changed

.github/workflows/flowy_editor_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
cache: true
3131

3232
- name: Run FlowyEditor tests
33-
working-directory: frontend/app_flowy/packages/flowy_editor
33+
working-directory: frontend/app_flowy/packages/appflowy_editor
3434
run: |
3535
flutter pub get
3636
flutter test

frontend/app_flowy/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ analyzer:
1414
exclude:
1515
- "**/*.g.dart"
1616
- "**/*.freezed.dart"
17-
- "packages/flowy_editor/**"
17+
- "packages/appflowy_editor/**"
1818
- "packages/editor/**"
1919
# - "packages/flowy_infra_ui/**"
2020
linter:

frontend/app_flowy/linux/flutter/generated_plugin_registrant.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@
77
#include "generated_plugin_registrant.h"
88

99
#include <flowy_infra_ui/flowy_infra_u_i_plugin.h>
10+
#include <rich_clipboard_linux/rich_clipboard_plugin.h>
1011
#include <url_launcher_linux/url_launcher_plugin.h>
1112
#include <window_size/window_size_plugin.h>
1213

1314
void fl_register_plugins(FlPluginRegistry* registry) {
1415
g_autoptr(FlPluginRegistrar) flowy_infra_ui_registrar =
1516
fl_plugin_registry_get_registrar_for_plugin(registry, "FlowyInfraUIPlugin");
1617
flowy_infra_u_i_plugin_register_with_registrar(flowy_infra_ui_registrar);
18+
g_autoptr(FlPluginRegistrar) rich_clipboard_linux_registrar =
19+
fl_plugin_registry_get_registrar_for_plugin(registry, "RichClipboardPlugin");
20+
rich_clipboard_plugin_register_with_registrar(rich_clipboard_linux_registrar);
1721
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
1822
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
1923
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);

frontend/app_flowy/linux/flutter/generated_plugins.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
list(APPEND FLUTTER_PLUGIN_LIST
66
flowy_infra_ui
7+
rich_clipboard_linux
78
url_launcher_linux
89
window_size
910
)

frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import flowy_infra_ui
1111
import flowy_sdk
1212
import package_info_plus_macos
1313
import path_provider_macos
14+
import rich_clipboard_macos
1415
import shared_preferences_macos
1516
import url_launcher_macos
1617
import window_size
@@ -22,6 +23,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
2223
FlowySdkPlugin.register(with: registry.registrar(forPlugin: "FlowySdkPlugin"))
2324
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
2425
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
26+
RichClipboardPlugin.register(with: registry.registrar(forPlugin: "RichClipboardPlugin"))
2527
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
2628
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
2729
WindowSizePlugin.register(with: registry.registrar(forPlugin: "WindowSizePlugin"))

frontend/app_flowy/packages/flowy_editor/.gitignore renamed to frontend/app_flowy/packages/appflowy_editor/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ migrate_working_dir/
1919
# The .vscode folder contains launch configuration and tasks you configure in
2020
# VS Code which you may wish to be included in version control, so this line
2121
# is commented out by default.
22-
#.vscode/
22+
.vscode/
2323

2424
# Flutter/Dart/Pub related
2525
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
@@ -28,3 +28,4 @@ migrate_working_dir/
2828
.dart_tool/
2929
.packages
3030
build/
31+
coverage/
Lines changed: 11 additions & 0 deletions

frontend/app_flowy/packages/appflowy_editor/LICENSE

Lines changed: 661 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 93 additions & 0 deletions

0 commit comments

Comments
 (0)