Wenchen Li
|
12667f6b66
|
Remove unused return in forEach of YMap
If the idea is to keep the API as close to the JS Map as possible, maybe we should consider not returning here.
Ref: https://github.com/microsoft/TypeScript/blob/v4.8.3/lib/lib.es2015.collection.d.ts#L28-L31
|
2022-09-19 18:19:41 -04:00 |
|
Kevin Jahns
|
588788fbef
|
fix snapshot diff calculation naming bug
|
2022-09-14 00:37:06 +02:00 |
|
regischen
|
923fc6e06e
|
fix typo
|
2022-08-25 17:35:24 +08:00 |
|
Kevin Jahns
|
df2d59e2fb
|
UndoManager: fix special deletion case. closes #447 closes #443
|
2022-07-28 14:12:21 +02:00 |
|
Kevin Jahns
|
6fa8778fc7
|
add doc parameter to UndoManager
|
2022-07-22 14:22:46 +02:00 |
|
Kevin Jahns
|
1bc9308566
|
improve already-imported message further
|
2022-06-16 12:57:04 +02:00 |
|
Kevin Jahns
|
a5e0448a92
|
Merge pull request #434 from PatrickShaw/globalThis-add
Prefer globalThis over window and global
|
2022-06-15 12:04:09 +02:00 |
|
Vladimir Shapovalov
|
5a7ee74f68
|
export UpdateEncoderV1
|
2022-06-14 13:16:35 +07:00 |
|
Kevin Jahns
|
29fb4a0aab
|
improve double-import error message
|
2022-06-13 10:27:04 +02:00 |
|
Patrick Shaw
|
8937494bdd
|
Added globalThis
|
2022-06-01 13:36:32 +10:00 |
|
Kevin Jahns
|
6febf51b1a
|
fix captureTransaction
|
2022-05-14 18:10:19 +02:00 |
|
Kevin Jahns
|
4ad8af9a80
|
Add option to UndoManager to filter transactions
|
2022-05-14 14:23:47 +02:00 |
|
Kevin Jahns
|
ece1fe5426
|
minimize changes when formatting text - #422
|
2022-05-09 12:53:26 +02:00 |
|
Kevin Jahns
|
1c9c97ffe6
|
add yxml.forEach method - closes #421
|
2022-04-23 15:13:26 +02:00 |
|
Kevin Jahns
|
71fad52854
|
fix typing information YMap.iterator - fixes #420
|
2022-04-20 13:09:56 +02:00 |
|
Kevin Jahns
|
a22b3cdbc1
|
add option to UndoManager to ignore remote map changes. implements #390
|
2022-03-26 10:29:19 +01:00 |
|
Kevin Jahns
|
e9a0dc4ed2
|
add destroy logic
|
2022-03-25 11:08:30 +01:00 |
|
Kevin Jahns
|
d3e117702c
|
add method to add & remove tracked origins
|
2022-03-25 11:00:07 +01:00 |
|
Kevin Jahns
|
6b8cef29e2
|
address #398
|
2022-03-20 23:58:14 +01:00 |
|
Kevin Jahns
|
4a06492fb1
|
add stack-item-updated event to Y.UndoManager. implements #407
|
2022-03-20 22:49:23 +01:00 |
|
Kevin Jahns
|
46fbce0de8
|
more utility around Y.UndoManager
|
2022-03-20 22:41:33 +01:00 |
|
alderzhang
|
6aea35246b
|
fix decodeUpdateV2 bug
|
2022-03-15 15:22:51 +08:00 |
|
Kevin Jahns
|
d0f9c4a27f
|
lint
|
2022-03-02 13:25:56 +01:00 |
|
Kevin Jahns
|
9f1548204a
|
Merge pull request #376 from fson/yevent-target-type
Add more accurate typing for YEvent.target
|
2022-03-02 13:18:00 +01:00 |
|
Kevin Jahns
|
46e108f345
|
Merge pull request #388 from sanalabs/uk/decode-methods
Add decode methods
|
2022-03-01 15:16:59 +01:00 |
|
dkuhnert
|
fddb620d41
|
cleanup redundant text attributes when delete attributes
fixes #392
|
2022-02-23 18:20:26 +01:00 |
|
dkuhnert
|
abf3fab1b6
|
cleanup redundant text attributes when delete attributes
fixes #392
|
2022-02-23 14:53:31 +01:00 |
|
Ulf Karlsson
|
8678ef62d6
|
Remove curr.info
|
2022-02-07 20:00:10 +01:00 |
|
Ulf Karlsson
|
db53b6c720
|
Add decode methods
|
2022-02-07 17:15:06 +01:00 |
|
Kevin Jahns
|
24eddb2d75
|
fix concurrent formatting / cleanup bug
|
2022-02-04 12:41:13 +01:00 |
|
Kevin Jahns
|
2d1e3fde43
|
fixed edge formatting case
|
2022-02-04 11:26:32 +01:00 |
|
Kevin Jahns
|
04009f0d42
|
Merge branch 'update-attributes-on-delete' of git://github.com/ja2nicholl/yjs into ja2nicholl-update-attributes-on-delete
|
2022-02-04 10:39:41 +01:00 |
|
Kevin Jahns
|
931a37a331
|
only fire stack-item-added when and item was actually added. closes #368
|
2022-02-03 21:36:54 +01:00 |
|
Kevin Jahns
|
8fd1f3405a
|
lint
|
2022-02-03 21:25:29 +01:00 |
|
Kevin Jahns
|
f577a8e3cf
|
Merge pull request #366 from holtwick/main
Add canUndo/canRedo to UndoManager. Fixes #365
|
2022-02-03 21:21:33 +01:00 |
|
Kevin Jahns
|
f08682ddfd
|
Merge branch 'main' of github.com:yjs/yjs
|
2022-02-03 21:15:18 +01:00 |
|
Kevin Jahns
|
c20d72b886
|
Merge pull request #370 from doodlewind/typo
fix minor typos
|
2022-02-03 21:14:02 +01:00 |
|
Kevin Jahns
|
4cfa49d601
|
reproduce and fix issues #355 #343 #304 and closes #367
|
2022-02-03 21:10:24 +01:00 |
|
Jeremy Nicholl
|
164b38f0cd
|
Avoid copying attribute map when deleting
Calling cleanupFormattingGap should not make a copy of the
attributes because it needs to be able to update them.
|
2022-01-31 14:49:16 -05:00 |
|
Ville Immonen
|
81a36a2762
|
add more accurate typing for YEvent.target
|
2022-01-15 14:22:17 +02:00 |
|
Kevin Jahns
|
20e1234af2
|
implement performant push in arrays
|
2022-01-11 21:53:20 +01:00 |
|
Yifeng Wang
|
51bb732606
|
fix minor typos
|
2022-01-05 01:20:57 +08:00 |
|
Dirk Holtwick
|
f857345451
|
Add canUndo/canRedo to UndoManager. Fixes #365
|
2021-12-18 18:26:32 +01:00 |
|
Kevin Jahns
|
1cf709093c
|
export V1 ⇔ V2 update format conversion. Closes #363
|
2021-12-15 18:45:08 +01:00 |
|
Kevin Jahns
|
28e1b19e57
|
add loading event logic
|
2021-11-24 23:15:55 +01:00 |
|
Kevin Jahns
|
9a7250f192
|
fix undoing of content containing subdocs
|
2021-11-19 13:47:10 +01:00 |
|
Kevin Jahns
|
4154b12f14
|
handle local/remote autoload edge cases
|
2021-11-19 13:27:14 +01:00 |
|
Kevin Jahns
|
ea4e9a0007
|
change order of logging statement for debugging
|
2021-11-14 13:10:52 +01:00 |
|
Kevin Jahns
|
2ec19defcb
|
export testHelper esm properly
|
2021-11-06 15:55:59 +01:00 |
|
Kevin Jahns
|
8abf5b85ff
|
fix #344 - formatting attribute assign bug
|
2021-11-06 14:35:04 +01:00 |
|