Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] An error occurs when applying divider markdown. #241

Closed
voisbe opened this issue Jun 22, 2023 · 0 comments · Fixed by #252
Closed

[Bug] An error occurs when applying divider markdown. #241

voisbe opened this issue Jun 22, 2023 · 0 comments · Fixed by #252

Comments

@voisbe
Copy link

voisbe commented Jun 22, 2023

Bug Description

  1. An error occurs when applying divider markdown.
    *** normally draws the divider well.
    --- gives the following error.

[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: FormatException
#0 _extension#8.shift (package:appflowy_editor/src/editor/editor_component/service/ime/delta_input_service.dart:311:7)
#1 _extension#8.<< (package:appflowy_editor/src/editor/editor_component/service/ime/delta_input_service.dart:308:42)
#2 _extension#2.format (package:appflowy_editor/src/editor/editor_component/service/ime/delta_input_service.dart:252:26)
#3 _extension#1.format (package:appflowy_editor/src/editor/editor_component/service/ime/delta_input_service.dart:238:50)
#4 DeltaTextInputService.apply. (package:appflowy_editor/src/editor/editor_component/service/ime/delta_input_service.dart:68:49)
#5 MappedListIterable.elementAt (dart:_internal/iterable.dart:415:31)
#6 ListIterator.moveNext (dart:_internal/iterable.dart:344:26)
#7 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189:27)
#8 new _GrowableList.of (dart:core-patch/g<…>

  1. Quotes also do not apply. There is no error and it is expressed exactly as typed.
    ex) " something => " something

How to Reproduce

Just type --- or " in the appflowy editor.

Expected Behavior

  1. --- A separator line should be drawn when typing.
  2. " + Space should draw quotes.

Operating System

iOS

AppFlowy Editor Version(s)

1.0.4

Screenshots

Simulator Screenshot - iPhone 14 - 2023-06-22 at 20 08 04

Additional Context

No response

@voisbe voisbe changed the title [Bug] Markdown [Bug] An error occurs when applying divider markdown. Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant