Commit graph

1,273 commits

Author SHA1 Message Date
Richard Shiue
5352bb4a24
fix: check if scroll service is disposed before scrolling (#1016)
* fix: check if scroll service is disposed before scrolling

* chore: experiment

* chore: add back null check
2025-01-13 17:40:10 +08:00
Richard Shiue
2440242589
fix: use jump to when cursor not rendered (#1015) 2025-01-13 09:21:25 +08:00
Lucas
448174bb11
fix: unable to parse image if the image is inside the paragraph (#1012)
* fix: unable to parse image if the image is inside the paragraph

* test: unable to parse image if the image is inside the paragraph

* fix: using space bar to move the cursor not working on Android (#1013)

---------

Co-authored-by: Morn <agedchen@gmail.com>
2025-01-07 18:08:14 +08:00
Morn
4bcbfb0679
fix: using space bar to move the cursor not working on Android (#1013) 2025-01-07 10:20:02 +08:00
Lucas
2490f698c3
feat: expose text span for text style builder (#1011)
* feat: expose textspan for text style builder

* fix: content menu will show when collaborating
2025-01-06 11:40:17 +08:00
Lucas
9f6a29968e
fix: enter after emoji will create a softbreak on mobile (#1010)
* fix: enter after emoji will create a softbreak

* test: enter after emoji will create a softbreak
2024-12-31 15:10:41 +08:00
Lucas
cfb8b1b6eb
feat: clear selection extra info before inserting a new line (#1009)
* feat: enable debug paint size for mobile drag handle

* fix: clear selection extra info when inserting new line

* Revert "feat: enable debug paint size for mobile drag handle"

This reverts commit 3ece3c64d3a1c7fc2051ca7603e75dcf053304e8.
2024-12-30 15:28:26 +08:00
Morn
b52ce3bb91
fix: error format of TextEditingDeltaInsertion (#1004) 2024-12-30 15:27:34 +08:00
kyungilcho
6ce63ec57b
fix: out of text range while composing error (#979) 2024-12-30 15:27:19 +08:00
Lucas
1f124c1879
feat: enable debug paint size for mobile drag handle (#1007)
* feat: enable debug paint size for mobile drag handle

* feat: support auto-dismiss mobile collasped handle

* feat: clear composing range when updating selection by ui event
2024-12-30 15:07:14 +08:00
Lucas
c68e5f6c58
feat: support text align in text-based blocks (#1002) 2024-12-24 16:20:20 +08:00
Morn
6c54748517
fix: checking is mounted before updating the value of PropertyValueNotifier(#977) (#997) 2024-12-24 15:48:11 +08:00
Lucas
95df61c1a5
feat: deep copy the node (#995) 2024-12-24 15:47:54 +08:00
Morn
4edd0e00e8
fix: sougou IME issue on Windows (#1000) 2024-12-24 15:47:45 +08:00
Morn
c6909a7a04
fix: all the text pasted from google doc will be applied inline link format (#993) 2024-12-17 14:59:11 +08:00
Mike Faust
4f1473b392
fix: added autoScrollEdgeOffset to fix assertion error when scrolling in the example (#974) (#991) 2024-12-16 10:43:03 +08:00
Lucas
ca04a675c0
fix: shift+enter should wrap the line in list (#990)
* fix: shift+enter should wrap the line in list

* fix: unit test

* fix: select all command
2024-12-13 19:41:57 +08:00
Lucas
ea1bcd3dd6
feat: add partialSliced to support partial sliced attributes (#989) 2024-12-12 15:00:59 +08:00
Lucas
954ffa538e
feat: reset to the default inline code format logic (#988)
* chore: reset to default inline code format logic

* fix: slice_attributes_test
2024-12-11 18:09:01 +08:00
Gautier
e6971c2c02
fix: mobile toolbar menu auto close on some devices (#941)
* Fixed menu closing on some devices

* chore: format code

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-12-11 17:21:22 +08:00
Ahad Patel
8d3f5b904b
feat: add command shortcut keys to convert text to title (#921)
* feat: add command shortcut keys to convert text to title

* fix: use const values from heading block keys

* chore: add test cases for command

* fix: comments and nomenclature

* chore: add appropriate description
2024-12-11 17:07:18 +08:00
LinJi
432b797914
fix: cross column deletion in the table (#934) 2024-12-11 17:04:34 +08:00
Morn
25ee0e5227
fix: copy paste a paragraph that includes hyperlinks from gDocs 2024-12-11 09:23:17 +08:00
Lucas
8babced290
chore: refactor html test (#987) 2024-12-10 14:11:21 +08:00
Lucas
f32762eae0
feat: support customize supported node types for slash menu (#982) 2024-12-09 16:55:59 +08:00
Lucas
157ded3cd3
fix: underscore works should not be interpreted in inline-code (#984)
* fix: underscore works should not be interpreted in inline-code

* test: underscore works should not be interpreted in inline-code
2024-12-09 15:09:33 +08:00
Lucas
4034ebfae7
fix: closing a ')' braket to create a link will erase a text following it to the end of a paragraph (#983)
* fix: closing a ')' braket to create a link will erase a text following it to the end of a paragraph

* feat: move the cursor to the end of the doc if the cursor is in the last line

* fix: test
2024-12-09 11:42:18 +08:00
Lucas
ac3b0906ea
fix: creating document from slash menu leaves text behind (#980) 2024-12-03 11:28:19 +08:00
Lucas
bf9d7e9c41
fix: skip repeated key events when the slash menu is opening (#978)
* fix: repeated key events in slash menu

* feat: add cmd+delete and option+delete commands

* Revert "feat: add cmd+delete and option+delete commands"

This reverts commit 436485a2504011673ee5d60858e7efc6fe8abc78.
2024-12-03 10:19:48 +08:00
Lucas
817c965f26
fix: hide the floating toolbar if no content is visible (#976)
* fix: hide the toolbar when all selected content is empty

* test: hide the toolbar when all selected content is empty

* Revert "fix: ignore backspace on empty table cells to avoid editor crash (#964)"

This reverts commit 09f4b17e2e.
2024-12-02 10:11:15 +08:00
Saif Addin
09f4b17e2e
fix: ignore backspace on empty table cells to avoid editor crash (#964) 2024-11-27 13:56:30 +08:00
Arya Pratap Singh
566ee6fbc2
fix: detect phone number when pasting text (#970) 2024-11-27 13:56:01 +08:00
Lucas
5b3878dcc5
feat: support in memory transaction update (#972)
* feat: support in memory transaction update

* test: support in memory transaction update
2024-11-25 11:07:47 +08:00
Lucas
6009429e58
fix: cross blocks format not reflected on the float toolbar (#971)
* fix: cross blocks format not reflected on the float toolbar

* test: cross blocks format not reflected on the float toolbar
2024-11-25 09:41:38 +08:00
Saif Addin
16a728721d
fix: deleting the last table being the last node of the document, places an empty node to avoid the editor to crash (#951) 2024-11-20 09:15:36 +08:00
Saif Addin
a1081a9dfb
fix: cut collapsed table cell won't crash the editor (#963) 2024-11-20 09:15:07 +08:00
Ahad Patel
ea81e3c164
fix: add name in keywords list in SelectionMenuItem (#966) 2024-11-13 15:35:58 +08:00
Mathias Mogensen
7ffae050ad
fix: table resizing when rect not rendered (#967) 2024-11-13 15:34:19 +08:00
Lucas
76daa96af5
fix: move cursor up / down error (#961) 2024-11-05 19:42:08 +08:00
Lucas
2903792fa3
feat: exclude padding when highlight heading block (#960) 2024-11-04 18:21:47 +08:00
Lucas
eccb24452a
fix: cursor height is inconsistent when the font size is smaller than the default text size (#958)
* fix: cursor height is inconsistent when the font size is smaller than the default text size

* fix: widget tests
2024-11-01 13:19:17 +08:00
Richard Shiue
4081fb7563
fix: highlight search match not scrolling document to reveal said match (#954)
* fix: highlight search match not scrolling document to reveal said match

* fix: don't jump if index is already on screen

* chore: code cleanup
2024-10-30 18:32:41 +08:00
Lucas
5756c9482a
fix: cancel block selection when tapping the editor on mobile (#956) 2024-10-30 18:25:37 +08:00
Lucas
cca5c41348
fix: replace texts may result in incorrect afterSelection (#952) 2024-10-29 15:35:20 +08:00
Lucas
46e00fc28f
fix: links starting with 0 index lose href attribute after formating (#947) 2024-10-29 09:44:49 +08:00
Lucas
e7d956099a
fix: replace texts assertion (#938)
* fix: replace texts assertion

* fix: unit test
2024-10-18 21:52:33 +08:00
Emmanuel Ferdman
ff8dbd0c48
fix: update migration guide (#929)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-10-18 20:23:25 +08:00
Lucas
450912305a
fix: use retain instead of insert/delete for same attr (#937)
* fix: use retain instead of insert/delete for same attr

* test: add delta diff test
2024-10-17 11:07:53 +08:00
Lucas
5cb871d3f5
feat: custom slice function (#935) 2024-10-17 11:04:47 +08:00
Lucas
bcd12082fe
feat: select multiple lines with block selection style (#936)
* feat: select multiple lines with block selection style

* feat: block selection margin

* fix: filter the selection not in same depth
2024-10-16 17:47:39 +08:00