Skip to content

Commit

Permalink
Prepare 2.1.1 to Pub
Browse files Browse the repository at this point in the history
  • Loading branch information
tneotia committed May 22, 2021
1 parent 1f0821a commit 99ab004
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [2.1.1] - 2021-05-22
* Fixed bottom overflow error on `AlertDialog`s if the screen size is small
* Fixed `StyleButtons(style: false)` would not remove the style dropdown
* Fixed JS/Dart communication hiccup on Web (make sure `postMessage` data is not null)
* Code cleanup

## [2.1.0+1] - 2021-05-11
* Hotfix for `copyWith` not defined for `ScrollBehavior` in v2.1.0

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ More is on the way! File a feature request or contribute to the project if you'd

## Setup

Add `html_editor_enhanced: ^2.1.0+1` as dependency to your pubspec.yaml.
Add `html_editor_enhanced: ^2.1.1` as dependency to your pubspec.yaml.

Additional setup is required on iOS to allow the user to pick files from storage. See [here](https://github.com/miguelpruivo/flutter_file_picker/wiki/Setup#--ios) for more details.

Expand Down
6 changes: 3 additions & 3 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.5.0"
version: "2.6.1"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -89,7 +89,7 @@ packages:
name: flutter_keyboard_visibility
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.1"
version: "5.0.2"
flutter_keyboard_visibility_platform_interface:
dependency: transitive
description:
Expand Down Expand Up @@ -127,7 +127,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.1.0+1"
version: "2.1.1"
infinite_listview:
dependency: transitive
description:
Expand Down
8 changes: 7 additions & 1 deletion lib/src/widgets/toolbar_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1608,7 +1608,13 @@ class ToolbarWidgetState extends State<ToolbarWidget> {
}
}
if (t is InsertButtons &&
(t.audio || t.video || t.otherFile || t.picture || t.link || t.hr || t.table)) {
(t.audio ||
t.video ||
t.otherFile ||
t.picture ||
t.link ||
t.hr ||
t.table)) {
toolbarChildren.add(ToggleButtons(
constraints: BoxConstraints.tightFor(
width: widget.htmlToolbarOptions.toolbarItemHeight - 2,
Expand Down
6 changes: 4 additions & 2 deletions lib/utils/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,13 @@ class _DropdownMenuState<T> extends State<_DropdownMenu<T>> {
textStyle: route.style,
child: ScrollConfiguration(
//todo
behavior: ScrollConfiguration.of(context)/*.copyWith(
behavior: ScrollConfiguration.of(
context) /*.copyWith(
overscroll: false,
physics: const ClampingScrollPhysics(),
platform: Theme.of(context).platform,
)*/,
)*/
,
child: PrimaryScrollController(
controller: widget.route.scrollController!,
child: Scrollbar(
Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.5.0"
version: "2.6.1"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -82,7 +82,7 @@ packages:
name: flutter_keyboard_visibility
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.1"
version: "5.0.2"
flutter_keyboard_visibility_platform_interface:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: html_editor_enhanced
description: HTML rich text editor for Android, iOS, and Web, using the Summernote library.
Enhanced with highly customizable widget-based controls, bug fixes, callbacks, dark mode, and more.
version: 2.1.0+1
version: 2.1.1
homepage: https://github.com/tneotia/html-editor-enhanced

environment:
Expand All @@ -19,7 +19,7 @@ dependencies:
visibility_detector: ^0.2.0
# plugin to get when the keyboard is hidden via back (Android)
# or "done" (iOS) to reset the editor's height
flutter_keyboard_visibility: ^5.0.1
flutter_keyboard_visibility: ^5.0.2
# plugin to show a color picker for foreground/highlight color
flutter_colorpicker: ^0.4.0
# plugin to get files from filesystem
Expand Down

0 comments on commit 99ab004

Please sign in to comment.