16 Commits

Author SHA1 Message Date
b339ecf179 Remove depecated usage of %checks from Flow types (#5477) 2024-01-11 15:31:24 +00:00
829bfcaf81 Fix ContentEditable Flow types (#4652) 2023-06-13 13:10:30 -04:00
665ed38b64 Make tabs flexible in code (#4520) 2023-05-19 11:19:17 -04:00
fe940b94ef Tab support (#4436) 2023-05-06 11:06:00 +01:00
9fbc5641e9 Move default language setting to Tokenizer (#3368) 2022-12-08 19:24:50 +00:00
ae6b4c3bcf Improve insertBefore, insertAfter, replace selection restoration logic (#3516) 2022-12-08 10:13:21 +00:00
5f56651b8a Expose Tokenizer interface to accept custom tokenizer other than Prism at @lexical/code (#3243) 2022-10-24 10:49:48 -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
c214a259cc Fix lists backward compatibility & markdown typedefs (#2068)
* Fix markdown typedfs

* Fix list backward compatibility for cloning
2022-05-04 15:05:16 -04:00
c963cfa896 Improve multi element indentation (#1982)
* Improve multi element indentation

* Remove bad UT

* Remove bad UT

* Add e2e test

* Address feedback
2022-04-26 04:41:22 +01: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
1f62ace08e fix: missing types in LexicalCode (#1876) 2022-04-19 19:22:40 +01:00
7f30b9864d Add LexicalCode TS types (#1818)
* Add LexicalCode TS types

* fix more bad types
2022-04-17 12:23:21 +01:00
1b7f59c1ef prettyfy all files (#1754) 2022-04-14 22:25:27 -07:00
26cb2da48f Add missing types (#1653) 2022-04-11 15:50:44 +01: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