100 Commits

Author SHA1 Message Date
53f6f1d716 [lexical-react] Feature: React 19 unit tests (#6048) 2024-05-22 02:24:52 +00:00
9db4cad8b2 [lexical] Feature: error checking for node key re-use with type mismatch in __DEV__ (#6014) 2024-05-11 12:03:02 -06:00
881258be7a Refactor build scripts and npm package process (#5876) 2024-04-25 16:17:31 -06:00
c0cca39759 Revert "Revert "feat(@lexical/devtools): Added TreeView rendering instead of a simple textarea"" (#5864) 2024-04-10 10:40:04 +01:00
edae3d36ef Node fork modules & moduleResolution bundler (#5774) 2024-04-02 00:33:51 +01:00
f5a15bd971 ESM build (#5618) 2024-03-17 19:29:09 -06:00
69754ac50d fix: unify class name splitting/filtering with normalizeClassNames (#5649) 2024-02-23 09:50:15 -07:00
fe940b94ef Tab support (#4436) 2023-05-06 11:06:00 +01:00
8033d76969 Remove remaining deprecated hooks (#3782) 2023-03-06 20:20:24 +00:00
560593d77b Fix iframe selection issues (#3573) 2022-12-17 13:32:23 +00:00
b8925d46c3 ⏸ [0.7] Customize Placeholder visibility (#3379) 2022-12-07 19:35:34 +00:00
15b3ead2f0 Remove AutoScrollPlugin and properly fix scrollIntoViewIfNeeded (#3378)
* Remove AutoScrollPlugin and properly fix scrollIntoViewIfNeeded

* Fix element scrolling bugs

* Remove redundant tag
2022-11-19 17:38:34 +00:00
b162fe9839 Drag & drop & paste with precision (#3274) 2022-10-28 18:39:11 +01:00
8aebc59eed chore: Move useCollaborationContext to dedicated file (#2777) 2022-08-08 09:03:08 +01:00
9299d029ba Add LexicalAutoEmbedPlugin and (Playground)AutoEmbedPlugin. (#2704) 2022-08-05 09:53:34 -04:00
d8b54507f2 Remove coverage reports (#2699) 2022-07-25 16:42:36 +01:00
5be29e5005 initializeEditorState on LexicalComposer (#2425) 2022-06-16 14:31:50 +01:00
96bdfb1c85 Add header to scripts (#2432) 2022-06-15 17:31:12 +01:00
82f4365a5e Move HTML<->Lexical functions to new package, @lexical/html. (#2246) 2022-05-24 16:26:53 -04:00
c8b7add27d Migrate last 2 packages to TS (10/n) (#2237)
* Run migration scripts

* Fix more difficult types

* Remove shared modules

* debug failing build

* Fix small bugs

* Remove unnecessary types for getLatest and getWritable

* Fix failing unit test

* Fix small type error in playground due to empty editor config
2022-05-24 14:15:39 +01:00
1524885b9b Migrate 4 more packages to TS (#2231)
* Migrate remaining packages

* Make build work
2022-05-22 19:04:35 +01:00
be1e15567a Migrate 5 more packages to TypeScript (8/n) (#2215)
* Migrate packages

* Migrate lists

* Small type change

* Mix merge issues

* Remove unnecessary type
2022-05-20 22:58:05 +01:00
8c4e9ddf5b Migrate lexical-react to TypeScript (7/n) (#2211)
* Run migration script

* Update types

* Make build work correctly

* Remove double headers

* Remove double headers

* remove migration script

* Remove unncessary new lines

* Update types in LexicalNode

* Fix small bugs

* Fix merge issues

* Fix failing tests

* Fix build error

* Small style change
2022-05-20 16:57:10 +01:00
965c06679d Migrate lexical-mark to TypeScript (#2183)
* docs: fix typo

* chore: migrate to typescript lexical-mark

* docs: fix typo

* fix: missing updates of typescript configuration

* chore: enforce argument to node checker

Co-authored-by: John Flockton <thegreatercurve@users.noreply.github.com>

* fix: missing build

Co-authored-by: John Flockton <thegreatercurve@users.noreply.github.com>
2022-05-17 10:57:15 +01:00
46e84d900e Migrate LexicalClipboard to TypeScript (5/n) (#2151)
* wip

* Add missing new lines
2022-05-15 10:33:16 +01:00
1293fbd2e0 Migrate more packages to TypeScript (4/n) (#2135)
* Migrate more packages

* Migrate 2 more packages

* Add shared Typescript utils

* Fix failing E2Es

* Fix deployment error

* small change to type
2022-05-11 16:14:02 +01:00
05bd611197 Migrate initial few packages to TypeScript (#2110)
* Add initial test migration

* Fix failing integrity check

* Remove ts-nochecks

* Update test config

* Add babel typescript preset instead of rollup plugin

* Remove relative paths for unit tests

* Small requested changes
2022-05-09 20:58:31 +01:00
9e39f0ec24 Split out commenting logic (#2074)
Split out commenting logic (#2074)
2022-05-05 07:25:12 +01:00
adea51cf4c Checklist support (#2050)
* Checklist, markdown shortcut, toolbar update

* [wip] a11y concerns
2022-05-04 09:55:42 -04:00
3349ffbaf4 Add TextMarks to TextNode (#1912)
* Add TextMarks

* Add tests

* Add more tests

* Update type defs

* Prettier

* Address feedback
2022-04-22 19:33:57 +01:00
cdb5178355 Move withSubscriptions to utils (#1565)
* Move withSubscriptions to utils

* Fix tests
2022-04-09 00:43:35 -07:00
cb341053fb Add @lexical/history (#1550)
* Add @lexical/history

* Add missing configuration
2022-04-09 00:43:35 -07:00
146c95a540 Add @lexical/overflow @lexical/link (#1556)
* Add @lexical/overflow @lexical/link

* Fix tests
2022-04-09 00:43:35 -07:00
89ae5046f6 Move rich/plain/dragon logic to separate packages (#1555)
* Move rich/plain/dragon logic to seperate pacakges

* Clean up entity logic
2022-04-09 00:43:34 -07:00
3b13497b8a Move code logic into @lexical/code (#1554)
* Move code logic into @lexical/code

* Fix tests
2022-04-09 00:43:34 -07:00
a5157af893 Use scrollMode: if-needed for auto-scrolling (#1541) 2022-04-09 00:43:34 -07:00
ecbd46e5c0 Remove lexical-helpers (#1466)
* Remove lexical-helpers

* Add midding ref
2022-04-09 00:43:30 -07:00
1d1959748d Convert Lexical Playground from CRA to Vite (#1463)
Convert Lexical Playground from CRA to Vite (#1463)
2022-04-09 00:43:30 -07:00
3fee5aa29a remove cursors from dom when reload (#1449)
* remove cursors from dom when reload

* address feedback
2022-04-09 00:43:29 -07:00
59afd22c1c Housekeeping: create more self-contained packages for Lexical (#1447)
* Add lexical-token package for HashtagNode

* Garden work

* Fix unit tests
2022-04-09 00:43:29 -07:00
75ed1f191f SSR + readonly (#1387) 2022-04-09 00:43:27 -07:00
5503ca6e64 Add clipboard package, remove lexical event helpers (#1361)
* add clipboard package, remove lexica event helpers

* bump version after rebase

* rename - wip

* rename things
2022-04-09 00:43:27 -07:00
993a2ea4ed Create Flow definition file for Lexical core (#1350) 2022-04-09 00:43:25 -07:00
646222a7f4 Make root selectable + many other changes (#1316)
* Make root selectable

More changes

fix e2e

Ensure HR has text content

* Fix e2e test

* Fix tables

* See if this fixes the collab e2e tests...

* Aha!

* Fix some styling
2022-04-09 00:43:24 -07:00
70981013c5 Create "lexical-table" package. (#1301) 2022-04-09 00:43:24 -07:00
03bed35c26 Fix issues around HorizontalRule node (#1304)
* Fix issues around HorizontalRule node

* Fix unit test
2022-04-09 00:43:23 -07:00
44e8daeae4 add lexical-file package (#1286) 2022-04-09 00:43:23 -07:00
1c856e80ec Add sort keys and sort imports lint rules, and enable fix+format on save (#1209)
* Add sort keys rule and update configs so it works

Bump version of flowtype eslint plugin to fix bugs with autofixing

* Add sort imports fixable lint rule

* Run lint fix and prettier on whole repo 

* Fix unit tests broken by key sorting
2022-04-09 00:43:22 -07:00
055e6410be Move node registration to editor creation phase (#1252)
* Move node registration to editor creation phase

* Fix OverflowedNode

* Fix unit test

* Fix bugs
2022-04-09 00:43:21 -07:00
2020bbadd5 Move list feature into a separate package (#1239)
* wip

* fix build issues

* fix imports

* bump version
2022-04-09 00:43:21 -07:00