chore: bump version 1.2.0 (#305)
This commit is contained in:
parent
5f136df356
commit
d5462baa48
6 changed files with 32 additions and 12 deletions
14
CHANGELOG.md
14
CHANGELOG.md
|
|
@ -1,3 +1,17 @@
|
|||
## 1.2.0
|
||||
|
||||
_If you are upgrading: please see [`UPGRADING.md`](https://github.com/AppFlowy-IO/appflowy-editor/blob/main/documentation/migration.md)._
|
||||
|
||||
* feat: added support for RTL and AUTO direction by @zoli in ([#191](https://github.com/AppFlowy-IO/appflowy-editor/pull/191))
|
||||
* feat: added support for customizing href behavior by @LucasXu0 in ([#293](https://github.com/AppFlowy-IO/appflowy-editor/pull/293))
|
||||
* feat: added support for delete key shortcut by @MayurSMahajan in ([#272](https://github.com/AppFlowy-IO/appflowy-editor/pull/272))
|
||||
* feat: added support customize the font family by @LucasXu0 in ([#300](https://github.com/AppFlowy-IO/appflowy-editor/pull/300))
|
||||
* fix: slash menu keyword not shows up the option by @johansutrisno in ([#268](https://github.com/AppFlowy-IO/appflowy-editor/pull/268))
|
||||
* fix: unable to access the slash menu on web platform by @LucasXu0 in ([#303](https://github.com/AppFlowy-IO/appflowy-editor/pull/303))
|
||||
* chore: change windows and linux command for redo by @MayurSMahajan in ([#294](https://github.com/AppFlowy-IO/appflowy-editor/pull/294))
|
||||
* chore: optimize the textSpan decorator by @LucasXu0 in ([#290](https://github.com/AppFlowy-IO/appflowy-editor/pull/290))
|
||||
* chore: remove the reference of the deprecated values by @LucasXu0 in ([#304](https://github.com/AppFlowy-IO/appflowy-editor/pull/304))
|
||||
|
||||
## 1.1.0
|
||||
* feat: support IME by @LucasXu0 in ([#253](https://github.com/AppFlowy-IO/appflowy-editor/pull/253))
|
||||
* feat: support text and background color in mobile toolbar by @hyj1204 in ([#233](https://github.com/AppFlowy-IO/appflowy-editor/pull/233))
|
||||
|
|
|
|||
9
documentation/UPGRADING.md
Normal file
9
documentation/UPGRADING.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# UPGRADING
|
||||
|
||||
## From 1.1 to 1.2
|
||||
|
||||
- `AppFlowyEditor.custom` and `AppFlowyEditor.standard` have been removed. Use `AppFlowyEditor.` instead.
|
||||
- For now, we provide the default values to the `blockComponentBuilders`, `characterShortcutEvents`, and `commandShortcutEvents` if you do not customize them.
|
||||
- `DefaultSelectable` has been renamed to `DefaultSelectableMixin`
|
||||
- `FlowyRichText` has been renamed to `AppFlowyRichText`.
|
||||
- Added new parameter called `context`(BuildContext) into `TextSpanDecoratorForAttribute`.
|
||||
|
|
@ -108,5 +108,8 @@
|
|||
"customColor": "Custom color",
|
||||
"hexValue": "Hex value",
|
||||
"opacity": "Opacity",
|
||||
"resetToDefaultColor": "Reset to default color"
|
||||
"resetToDefaultColor": "Reset to default color",
|
||||
"ltr": "LTR",
|
||||
"rtl": "RTL",
|
||||
"auto": "Auto"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||
"addYourLink": MessageLookupByLibrary.simpleMessage("Add your link"),
|
||||
"auto": MessageLookupByLibrary.simpleMessage("Auto"),
|
||||
"backgroundColor":
|
||||
MessageLookupByLibrary.simpleMessage("Background Color"),
|
||||
"backgroundColorBlue":
|
||||
|
|
@ -84,6 +85,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"lightLightTint8": MessageLookupByLibrary.simpleMessage("Aqua"),
|
||||
"lightLightTint9": MessageLookupByLibrary.simpleMessage("Blue"),
|
||||
"link": MessageLookupByLibrary.simpleMessage("Link"),
|
||||
"ltr": MessageLookupByLibrary.simpleMessage("LTR"),
|
||||
"mobileHeading1": MessageLookupByLibrary.simpleMessage("Heading 1"),
|
||||
"mobileHeading2": MessageLookupByLibrary.simpleMessage("Heading 2"),
|
||||
"mobileHeading3": MessageLookupByLibrary.simpleMessage("Heading 3"),
|
||||
|
|
@ -94,6 +96,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"removeLink": MessageLookupByLibrary.simpleMessage("Remove link"),
|
||||
"resetToDefaultColor":
|
||||
MessageLookupByLibrary.simpleMessage("Reset to default color"),
|
||||
"rtl": MessageLookupByLibrary.simpleMessage("RTL"),
|
||||
"strikethrough": MessageLookupByLibrary.simpleMessage("Strikethrough"),
|
||||
"text": MessageLookupByLibrary.simpleMessage("Text"),
|
||||
"textColor": MessageLookupByLibrary.simpleMessage("Text Color"),
|
||||
|
|
|
|||
|
|
@ -771,16 +771,6 @@ class AppFlowyEditorLocalizations {
|
|||
);
|
||||
}
|
||||
|
||||
/// `RTL`
|
||||
String get rtl {
|
||||
return Intl.message(
|
||||
'RTL',
|
||||
name: 'rtl',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `LTR`
|
||||
String get ltr {
|
||||
return Intl.message(
|
||||
|
|
@ -791,6 +781,16 @@ class AppFlowyEditorLocalizations {
|
|||
);
|
||||
}
|
||||
|
||||
/// `RTL`
|
||||
String get rtl {
|
||||
return Intl.message(
|
||||
'RTL',
|
||||
name: 'rtl',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Auto`
|
||||
String get auto {
|
||||
return Intl.message(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
name: appflowy_editor
|
||||
description: A highly customizable rich-text editor for Flutter. The AppFlowy Editor project for AppFlowy and beyond.
|
||||
version: 1.1.0
|
||||
version: 1.2.0
|
||||
homepage: https://github.com/AppFlowy-IO/appflowy-editor
|
||||
|
||||
platforms:
|
||||
|
|
|
|||
Loading…
Reference in a new issue