Commit graph

854 commits

Author SHA1 Message Date
Mathias Mogensen
0bad8d67d1 test: improve coverage for editor_style 2023-08-17 13:13:45 +08:00
Mathias Mogensen
f8632b68bf test: remove toolbarService getter from editorState 2023-08-17 13:13:45 +08:00
Mathias Mogensen
daab208f54 test: clean slash_command.dart 2023-08-17 13:13:45 +08:00
Mathias Mogensen
027bcdff71 test: improve coverage for auto scroller 2023-08-17 13:13:45 +08:00
Mathias Mogensen
afa06095b0 test: improve coverage for renderer/ 2023-08-17 13:13:45 +08:00
Mathias Mogensen
999ec073cd chore: fix deprecation warnings 2023-08-17 13:13:45 +08:00
Mathias Mogensen
b79aded8bb test: improve coverage for delta input 2023-08-17 13:13:45 +08:00
Mathias Mogensen
9eb60cc6aa test: improve coverage of editor/block_component/ 2023-08-17 13:13:45 +08:00
Mathias Mogensen
7c19368334 test: improve coverage of transaction.dart 2023-08-17 13:13:45 +08:00
Mathias Mogensen
639ebf1415 test: improve coverage of operations.dart 2023-08-17 13:13:45 +08:00
Mathias Mogensen
a564c10e87 chore: deprecate Selection.collapse + coverage for selection.dart 2023-08-17 13:13:45 +08:00
Mathias Mogensen
29d7ace457 test: coverage for position.dart 2023-08-17 13:13:45 +08:00
Mathias Mogensen
36d6c779be test: coverage for text_delta.dart 2023-08-17 13:13:45 +08:00
Mathias Mogensen
668feddf56 test: doc node.dart and coverage path.dart 2023-08-17 13:13:45 +08:00
Mathias Mogensen
b2f6c9c206 test: increase coverage for document.dart 2023-08-17 13:13:45 +08:00
Mathias Mogensen
4daaaf0cc3 fix: execute character command on replace 2023-08-17 13:13:27 +08:00
Lucas.Xu
016e141f51 fix: import single line delta failed 2023-08-17 13:09:34 +08:00
Lucas.Xu
cf14e0de08 feat: paste from html 2023-08-17 13:08:19 +08:00
Lucas.Xu
e5a10c4b4d
Merge pull request #374 from LucasXu0/fix_029_bugs
fix: v0.2.9 bugs
2023-08-13 17:15:17 +07:00
Lucas.Xu
5df1d3ab35 fix: link is not auto formatted 2023-08-13 18:14:58 +08:00
Lucas.Xu
4ccd811cda fix: link issue in the heading block 2023-08-13 16:37:21 +08:00
Mayur Mahajan
f5c6dc2ce7
feat: find dialog 1760 (#106)
* feat: make find menu widget

* feat: service for find menu

* feat: add find menu shortcut event

* feat: create a search service

* docs: explain search service

* fix: unhighlight method takes searched word

* fix: unhighlight before each search

* feat: navigate between matches

* feat: forget highlighting from undo stack

* feat: replace logic and ui

* feat: replace shortcut handler and widget

* test: find functionality

* test: replace menu tests

* refactor: separate class for search algo

* refactor: suggested changes

* refactor: remove unhighlight method

* feat: add find highlight color

* refactor: name of the search algo class

* test: unit tests for search algorithm

* chore: simplify syntax

* test: renamed test group

* refactor: move to editor

* refactor: add shortcut for find

* refactor: use new api

* refactor: add abstrac class search algo

* fix: avoid multiple instances of find dialog

* refactor: xazin's suggestions

* chore: separately build input decor

* test: search algorithm

* chore: unhighlight properly

* refactor: replace handler

* refactor: move tests into new

* test: find menu widget test

* test: replace menu

* fix: localizations + resolve scroll bug partially

* fix: without update selection on highlight

* fix: do not select words when highlighting

* test: update expected selection

* fix: matches and styling

* feat: separate attribute for highlighting

* feat: unique color for selected match

* test: unique color for selected match

* refactor: cleaning the code

* fix: navigate to first match

* fix: tests and replace logic

---------

Co-authored-by: Mathias Mogensen <mathiasrieckm@gmail.com>
Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
2023-08-10 13:08:45 +02:00
Lucas.Xu
953249fefd
fix: lose selection after pasting (#365)
* fix: the selection area delay to update after typing enter

* fix: selection will lose after pasting
2023-08-10 15:22:43 +08:00
Lucas.Xu
18aa9bff55
chore: release 1.2.3 (#362) 2023-08-08 15:34:27 +08:00
Lucas.Xu
2a8955b392 chore: format code 2023-08-08 15:09:09 +08:00
q200892907
4dd85449fd
Solve the problem of screen appearing at critical positions when there is a URL in the link menu (#346) 2023-08-08 15:05:03 +08:00
Mohammad Zolfaghari
2ab007415b
fix: selection menu respects current node direction (#360)
modified insertNodeAfterSelection to copy current node text direction
to the node which is going to get inserteded.

resolves #331
2023-08-08 14:56:27 +08:00
Mohammad Zolfaghari
de02b963a9
fix: show selection menu at left (#361)
When the selection rect is right half of editor show selection
menu on left.
2023-08-08 14:55:59 +08:00
Lucas.Xu
ab10257a01
fix: selection reason should be ui event when clicking (#359) 2023-08-06 12:29:08 +08:00
q200892907
fbc1ecdcf0
fix: desktop color picker issue 2023-08-06 11:44:33 +08:00
Lucas.Xu
6706292295
chore: add codecov token (#352) 2023-08-03 14:18:30 +08:00
Mayur Mahajan
2b517b2a5b
feat: paste plaintext shortcut (#338)
* feat: shortcut for pasting plaintext

* test: paste without formatting

* chore: use text directly

* refactor: add cut command
2023-08-02 10:03:03 +08:00
Mukund Tandon
c3f62b3086
fix: fixed unresponsive behaviour of context menu items (#349)
* fix: fixed unresponsive behaviour of context menu items

* test: added test for context menu
2023-08-02 10:00:02 +08:00
Mukund Tandon
b26a2ea99f
fix: fixed the issue of code block not being exported in markdown (#347) 2023-08-01 09:56:16 +08:00
Lucas.Xu
4ba7ed3a85
chore: format code (#345) 2023-08-01 09:50:19 +08:00
Yijing Huang
212c69f1ad
feat: expose context in nodeBuilder (#350) 2023-08-01 09:49:57 +08:00
Lucas.Xu
b729aa9116
feat: support scroll without animation (#343) 2023-07-25 16:14:43 +08:00
Richard Shiue
3e99f19922
fix: improve performance on editor overlays (#336) 2023-07-25 10:33:19 +08:00
Ali Hassan
73d56b44e2
fix: copy handler migrated to latest api (#240) 2023-07-25 10:08:18 +08:00
Mukund Tandon
d77ff1b2ac
fix: fixed numbered list being treated as a paragraph (#335) 2023-07-21 15:40:52 +08:00
Lucas.Xu
1205e7b00b
fix: unable to paste multiple lines (#332) 2023-07-20 18:03:49 +08:00
Ali Hassan
3ee7e31416
feat: html encode parser added (#314) 2023-07-20 12:06:00 +08:00
Mukund Tandon
8a76e36b14
feat: support importing images and files from markdown file (#316) 2023-07-19 18:22:11 +08:00
Mohammad Zolfaghari
3bd7c2aaa2
fix: indent padding from left when rtl (#318) 2023-07-19 15:58:27 +08:00
Yijing Huang
7aa337447b
feat: add edit link menu on mobile (#320) 2023-07-19 15:58:17 +08:00
Aditya Arora
196edc1d0e
feat: validate the image url (#324) 2023-07-19 15:57:56 +08:00
Yijing Huang
8ff97b30aa
chore: restore CI (#310) 2023-07-19 14:04:01 +08:00
Lucas.Xu
970e3d4fb7
chore: release 1.2.2 (#325) 2023-07-18 18:15:03 +08:00
Lucas.Xu
a80853c101 chore: bump version 1.2.1 2023-07-18 16:10:27 +07:00
Lucas.Xu
41865326a2 chore: support extending the convertibleBlockTypes 2023-07-18 15:52:44 +07:00