25 Commits

Author SHA1 Message Date
c032cf2b7c Prettier sort test attributes (#6384) 2024-07-10 13:15:31 +00:00
1f9352b54d Revert "Revert "Fix #5720 update the resolvedOffset correctly on imag… …e selection and drag" (#5952)" (#5955) 2024-04-24 11:32:23 -04:00
a7b7c72ec7 Revert "Fix #5720 update the resolvedOffset correctly on image selection and drag" (#5952) 2024-04-24 14:34:55 +01:00
bde1c84a3d Fix #5720 update the resolvedOffset correctly on image selection and drag (#5795) 2024-04-01 22:26:56 +08:00
9445ed25dd fix: Fix E2E tests in Safari (Webkit) (#5672)
Co-authored-by: Vladlen Fedosov <vladlenfedosov@meta.com>
2024-03-01 12:47:57 +00:00
6a8d07fa89 Add fixme annotation to flaky collab tests (#3916) 2023-02-16 10:26:14 +00:00
5a4e441956 Remove draggable block plugin on mobile devices (#3875) 2023-02-10 11:43:55 +00:00
a2f3b2fe15 Show caret while drag&drop (#3300) 2022-11-30 03:48:39 +00:00
54ef7353da $insertNodes: Selection-agnostic node insertion with Grid/Node selection support (#2638) 2022-09-15 00:24:14 +01:00
382766a15e Attempt transform of NodeSelection to RangeSelection on mouseDown (#2901) 2022-08-29 20:02:25 +01:00
499a8b1ef1 Improve heuristics around node selection and keyboard navigation (#2884)
* Improve heuristics around node selection and keyboard navigation
* Improve HorizontalRule
2022-08-24 16:04:57 +01:00
3cc839be31 fix(lexical-playground): Resizing is not consistent on mobile (#2518)
* fix(play-ground): Resizing is not consistent on mobile

* chore: update test
2022-06-27 15:58:59 +01:00
87f478cf58 Revisit formatText node selection (#2524) 2022-06-27 14:41:48 +01:00
2ace3db99f [1852]feat: move images by dragging on the editor (#2027)
* [1852]feat: move images by dragging on the editor

* Update packages/lexical-playground/src/plugins/ImagesPlugin.ts

Co-authored-by: Maksim Horbachevsky <fantactuka@gmail.com>

* chore: skip firefox on win

* chore: re-trigger test

Co-authored-by: Maksim Horbachevsky <fantactuka@gmail.com>
2022-05-18 08:49:41 -07:00
90b44b3171 Make the ImageResizer handle more intuitive (#1994)
* Add CSS of ImageResizer buttons

* Make the ImageResizer handle more intuitive

- horizontal / vertical resize
- appropriate cursor pointer

* Update test of ImageResizer

* Refactor image-resizer CSS

* Add resize style of cursor pointer on body
2022-04-28 08:46:55 +01:00
2e59e48dbb Improve CI (#1933)
* improve ci

* skip failing collab tests
2022-04-25 08:35:06 -07:00
d4583f01ff Fix bugs around pressing the enter key in Safari (#1943)
* Fix bugs around pressing the enter key in Safari

* Revise logic

* Fix regression

* Fix collab

* Add TODO

* Revert changes

* Fix lint
2022-04-24 22:38:09 +01:00
b8eed7e79d Refactor e2e & regression tests to use test utilities (#1842)
* refactor to use test utilities

* fix minor error
2022-04-18 12:37:36 +01:00
db0e5b417d feat: image plugin take file upload (#1829)
* feat: insert image by upload file

* revokeObjectURL on delete

* use base64 data instead of object url

* refactor: make input props explicit

* added e2e tests

* refactor: make exportable type

* fix: e2e failing test

* fix: e2e collab test

* make type read only

* revert Input and create FileInput component

* refactor `Input` to `TextInput`

* remove redundent fallback
2022-04-18 12:07:47 +01:00
6889c7ccec feat: image plugin take arbitrary url (#1817)
* feat: image plugin take arbitrary url

* fix: images e2e test

* refactor: use generalized css class name

* address review comments on InsertImageDialog

* typo

* test: select button with `data-test-id`
2022-04-17 12:31:22 +01:00
0e159ecb6b Fix toolbar active editor (#1785) 2022-04-17 02:01:34 +01:00
653360ca93 Add dropdowns to group controls in toolbar (#1662) 2022-04-12 16:11:18 -04:00
dbae9f8014 Html formatter (#1553)
* Add attributes formatter (Firefox and Chrome output different order)

* Add html formatter to trigger pritter in VC / precommit hook

* Add html format trigger to tests
2022-04-09 00:43:34 -07:00
622a06322d format all the things (#1513) 2022-04-09 00:43:33 -07:00
e7ff8f49d4 Rewrite test harness (#1487)
* switch to playwright/test

* update package-lock

* wip

* fix composition

* fix history

* fix tables

* fix character limit

* fix File and Selection tests

* update npm scripts

* fix plain text tests

* fix Keywords plain text

* skip selection test

* fix collab bug

* wait for iframe

* fix package-lock

* fix rebase issue

* fix initialization

* fix char overflow

* fix video uploads and other cleanup

* forbid only

* fix forbid only

* disable tracing

* add comment

* fix regression tests

* address comments
2022-04-09 00:43:32 -07:00