mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: analyze problem
This commit is contained in:
parent
5bb5337de8
commit
5b482248ec
@ -1,8 +1,8 @@
|
|||||||
## 0.0.5
|
## 0.0.5
|
||||||
* Support customize the hotkey for a shortcut on different platform.
|
* Support customize the hotkeys for a shortcut on different platforms.
|
||||||
* Support customize a theme.
|
* Support customize a theme.
|
||||||
* Support localizations.
|
* Support localizations.
|
||||||
* Support insert numbered list.
|
* Support insert numbered lists.
|
||||||
* Fix some bugs.
|
* Fix some bugs.
|
||||||
|
|
||||||
## 0.0.4
|
## 0.0.4
|
||||||
|
@ -1,35 +1,35 @@
|
|||||||
{
|
{
|
||||||
"@@locale": "zh-CN",
|
"@@locale": "zh-CN",
|
||||||
"bold": "加粗",
|
"bold": "",
|
||||||
"@bold": {},
|
"@bold": {},
|
||||||
"bulletedList": "无序列表",
|
"bulletedList": "",
|
||||||
"@bulletedList": {},
|
"@bulletedList": {},
|
||||||
"checkbox": "复选框",
|
"checkbox": "",
|
||||||
"@checkbox": {},
|
"@checkbox": {},
|
||||||
"embedCode": "内嵌代码",
|
"embedCode": "",
|
||||||
"@embedCode": {},
|
"@embedCode": {},
|
||||||
"heading1": "标题 1",
|
"heading1": "",
|
||||||
"@heading1": {},
|
"@heading1": {},
|
||||||
"heading2": "标题 2",
|
"heading2": "",
|
||||||
"@heading2": {},
|
"@heading2": {},
|
||||||
"heading3": "标题 3",
|
"heading3": "",
|
||||||
"@heading3": {},
|
"@heading3": {},
|
||||||
"highlight": "高亮",
|
"highlight": "",
|
||||||
"@highlight": {},
|
"@highlight": {},
|
||||||
"image": "图片",
|
"image": "",
|
||||||
"@image": {},
|
"@image": {},
|
||||||
"italic": "斜体",
|
"italic": "",
|
||||||
"@italic": {},
|
"@italic": {},
|
||||||
"link": "链接",
|
"link": "",
|
||||||
"@link": {},
|
"@link": {},
|
||||||
"numberedList": "有序列表",
|
"numberedList": "",
|
||||||
"@numberedList": {},
|
"@numberedList": {},
|
||||||
"quote": "引用",
|
"quote": "",
|
||||||
"@quote": {},
|
"@quote": {},
|
||||||
"strikethrough": "删除线",
|
"strikethrough": "",
|
||||||
"@strikethrough": {},
|
"@strikethrough": {},
|
||||||
"text": "文字",
|
"text": "",
|
||||||
"@text": {},
|
"@text": {},
|
||||||
"underline": "下划线",
|
"underline": "",
|
||||||
"@underline": {}
|
"@underline": {}
|
||||||
}
|
}
|
@ -22,21 +22,21 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||||||
|
|
||||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||||
"bold": MessageLookupByLibrary.simpleMessage("加粗"),
|
"bold": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"bulletedList": MessageLookupByLibrary.simpleMessage("无序列表"),
|
"bulletedList": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"checkbox": MessageLookupByLibrary.simpleMessage("复选框"),
|
"checkbox": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"embedCode": MessageLookupByLibrary.simpleMessage("内嵌代码"),
|
"embedCode": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"heading1": MessageLookupByLibrary.simpleMessage("标题 1"),
|
"heading1": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"heading2": MessageLookupByLibrary.simpleMessage("标题 2"),
|
"heading2": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"heading3": MessageLookupByLibrary.simpleMessage("标题 3"),
|
"heading3": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"highlight": MessageLookupByLibrary.simpleMessage("高亮"),
|
"highlight": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"image": MessageLookupByLibrary.simpleMessage("图片"),
|
"image": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"italic": MessageLookupByLibrary.simpleMessage("斜体"),
|
"italic": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"link": MessageLookupByLibrary.simpleMessage("链接"),
|
"link": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"numberedList": MessageLookupByLibrary.simpleMessage("有序列表"),
|
"numberedList": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"quote": MessageLookupByLibrary.simpleMessage("引用"),
|
"quote": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"strikethrough": MessageLookupByLibrary.simpleMessage("删除线"),
|
"strikethrough": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"text": MessageLookupByLibrary.simpleMessage("文字"),
|
"text": MessageLookupByLibrary.simpleMessage(""),
|
||||||
"underline": MessageLookupByLibrary.simpleMessage("下划线")
|
"underline": MessageLookupByLibrary.simpleMessage("")
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/services.dart';
|
|
||||||
import 'package:appflowy_editor/src/service/shortcut_event/shortcut_event_handler.dart';
|
import 'package:appflowy_editor/src/service/shortcut_event/shortcut_event_handler.dart';
|
||||||
|
|
||||||
ShortcutEventHandler pageUpHandler = (editorState, _) {
|
ShortcutEventHandler pageUpHandler = (editorState, _) {
|
||||||
|
@ -23,6 +23,7 @@ dependencies:
|
|||||||
url_launcher: ^6.1.5
|
url_launcher: ^6.1.5
|
||||||
logging: ^1.0.2
|
logging: ^1.0.2
|
||||||
intl_utils: ^2.7.0
|
intl_utils: ^2.7.0
|
||||||
|
intl:
|
||||||
flutter_localizations:
|
flutter_localizations:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
|
|
||||||
|
@ -4,7 +4,6 @@ import 'package:appflowy_editor/src/render/rich_text/default_selectable.dart';
|
|||||||
import 'package:appflowy_editor/src/extensions/text_node_extensions.dart';
|
import 'package:appflowy_editor/src/extensions/text_node_extensions.dart';
|
||||||
import 'package:flutter_test/flutter_test.dart';
|
import 'package:flutter_test/flutter_test.dart';
|
||||||
import '../../infra/test_editor.dart';
|
import '../../infra/test_editor.dart';
|
||||||
import 'package:appflowy_editor/src/extensions/attributes_extension.dart';
|
|
||||||
|
|
||||||
void main() async {
|
void main() async {
|
||||||
setUpAll(() {
|
setUpAll(() {
|
||||||
|
@ -5,7 +5,6 @@ import 'package:appflowy_editor/src/render/toolbar/toolbar_item_widget.dart';
|
|||||||
import 'package:appflowy_editor/src/render/toolbar/toolbar_widget.dart';
|
import 'package:appflowy_editor/src/render/toolbar/toolbar_widget.dart';
|
||||||
import 'package:flutter_test/flutter_test.dart';
|
import 'package:flutter_test/flutter_test.dart';
|
||||||
import '../../infra/test_editor.dart';
|
import '../../infra/test_editor.dart';
|
||||||
import 'package:appflowy_editor/src/extensions/attributes_extension.dart';
|
|
||||||
|
|
||||||
void main() async {
|
void main() async {
|
||||||
setUpAll(() {
|
setUpAll(() {
|
||||||
|
@ -5,7 +5,6 @@ import 'package:flutter_test/flutter_test.dart';
|
|||||||
import 'package:network_image_mock/network_image_mock.dart';
|
import 'package:network_image_mock/network_image_mock.dart';
|
||||||
import '../../infra/test_editor.dart';
|
import '../../infra/test_editor.dart';
|
||||||
import 'package:appflowy_editor/src/document/built_in_attribute_keys.dart';
|
import 'package:appflowy_editor/src/document/built_in_attribute_keys.dart';
|
||||||
import 'package:appflowy_editor/src/extensions/attributes_extension.dart';
|
|
||||||
|
|
||||||
void main() async {
|
void main() async {
|
||||||
setUpAll(() {
|
setUpAll(() {
|
||||||
|
@ -4,7 +4,6 @@ import 'package:flutter/services.dart';
|
|||||||
import 'package:flutter_test/flutter_test.dart';
|
import 'package:flutter_test/flutter_test.dart';
|
||||||
import '../../infra/test_editor.dart';
|
import '../../infra/test_editor.dart';
|
||||||
import 'package:appflowy_editor/src/document/built_in_attribute_keys.dart';
|
import 'package:appflowy_editor/src/document/built_in_attribute_keys.dart';
|
||||||
import 'package:appflowy_editor/src/extensions/attributes_extension.dart';
|
|
||||||
|
|
||||||
void main() async {
|
void main() async {
|
||||||
setUpAll(() {
|
setUpAll(() {
|
||||||
|
Loading…
Reference in New Issue
Block a user