20 Commits

Author SHA1 Message Date
42c83729af Feature: $config protocol + NodeState registration/flattening (#7258) 2025-06-22 17:55:34 +00:00
7c21d4ff39 [Breaking Change][lexical] Feature: Add updateFromJSON and move more textFormat/textStyle to ElementNode (#6970) 2025-01-01 20:48:12 +00:00
619003383d Refactor: exportJSON (#6983) 2024-12-23 08:19:27 +00:00
66f805c41a [Breaking Change][lexical] Feature: New update tag: skip-dom-selection, $onUpdate now always called (#6894) 2024-12-13 18:31:26 +00:00
bd507b9c0b [lexical][lexical-overflow] Refactor: simplified removeText and insertText rewrite (part 1) (#6456)
Co-authored-by: EgonBolton <43938777+EgonBolton@users.noreply.github.com>
Co-authored-by: Bob Ippolito <bob@redivi.com>
2024-09-04 23:37:14 +00:00
7cf2e247a5 Revert "Fix OverflowNode configuration" (#6535) 2024-08-21 05:26:02 +00:00
cb0b7312a4 Fix OverflowNode configuration (#6027)
Co-authored-by: Bob Ippolito <bob@redivi.com>
2024-08-15 02:17:03 +00:00
a951969b63 docs: fix typedoc links and add missing packages (#5850) 2024-04-14 09:29:46 -07:00
1859223fbe Loosen node and version types (#4143) 2023-04-04 15:27:23 +01:00
e136aaa308 Add missing usages of $applyNodeReplacement (#3592) 2022-12-19 18:54:00 +00:00
ae6b4c3bcf Improve insertBefore, insertAfter, replace selection restoration logic (#3516) 2022-12-08 10:13:21 +00:00
3f339a700b Add autogenerated TypeDoc docs (#2837)
* upgrade docusaurus

* add typedoc deps

* add typedoc documentation

* patched plugin

* update module names

* add file header

* revert eslint changes

* shuffle dependencies

* lint

* remove duplicate headers

* move API to separate topnav and sidebar

* rename modules
2022-08-17 21:33:40 -06:00
2f537def12 Lint for correct header (#2424) 2022-06-15 12:40:19 +01:00
69cea082d9 Fix utility type bugs for TS (#2353)
* Add Spread as lexical type export

* Remove lint warnings

* Add utility types as dev dependencies

* Fix failing tests
2022-06-07 12:16:47 +01:00
540466f339 Fix various JSON/HTML issues (#2317) 2022-06-02 11:43:49 +01: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
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
8f9a903785 Add unstable serialization logic for node JSON parsing (#2157)
* Add unstable serialization logic for node JSON parsing

* Ooops

* Freeze editorState

* Migrate code node

* Address feedback

* Address feedback

* Address feedback

* Address more feedback

* Address more feedback

* Address FlowFixMes

* update types

* prettier

* remove import

* polish types

* fix types

* add ut for unstable APIs

* fix rebase issue

* oops

* wip

* more nodes

* types

* prettier

* add tests for core nodes

* update codes.json

* Merge global files

* Rename global type defs

* Update packages/lexical-link/src/index.js

Co-authored-by: Gerard Rovira <zurfyx@users.noreply.github.com>

* fix linter an versions

* more versions

Co-authored-by: acywatson <acy.watson@gmail.com>
Co-authored-by: John Flockton <thegreatercurve@users.noreply.github.com>
Co-authored-by: Gerard Rovira <zurfyx@users.noreply.github.com>
2022-05-19 11:44:52 -07:00
8ef3f1cb61 Fix memory leak with EditorContext (#1767)
* Fix memory leak with EditorContext

* Fix flow

* Fix prettier
2022-04-21 19:55:37 +01:00
146c95a540 Add @lexical/overflow @lexical/link (#1556)
* Add @lexical/overflow @lexical/link

* Fix tests
2022-04-09 00:43:35 -07:00