78 Commits

Author SHA1 Message Date
054c983a9b docs: Creating a Plugin page + example (#5717)
Co-authored-by: Vladlen Fedosov <vladlenfedosov@meta.com>
2024-03-15 10:18:53 -06:00
9ef2961af7 docs: Improved Getting Started with React guide (#5676)
Co-authored-by: Vladlen Fedosov <vladlenfedosov@meta.com>
2024-03-01 14:40:22 -07:00
ea11763efd docs: Interactive Vanilla JS example (#5668)
Signed-off-by: Vladlen Fedosov <vladlenfedosov@meta.com>
Co-authored-by: Vladlen Fedosov <vladlenfedosov@meta.com>
2024-02-29 13:18:50 -07:00
2319cad685 Consolidate docs across the repo (#5121) 2023-10-16 10:19:20 -06:00
4b4db176bc docs: fix typo in decorators.md (#5113) 2023-10-12 09:48:11 -04:00
6cbda42c51 Add type to commands for logging (#2942)
* Update commands

* Small lint error

* Fix failing build

* Rename variables

* Add strings for new commands
2022-10-17 17:02:18 +01:00
54ef7353da $insertNodes: Selection-agnostic node insertion with Grid/Node selection support (#2638) 2022-09-15 00:24:14 +01:00
76ead899c3 Bug: typo in Documentation. It should be ReactNode instead of React (https://github.com/facebook/lexical/issues/2731) (#2732) 2022-07-29 10:29:05 -07:00
37026efda0 Update docs (#2373) 2022-06-09 10:24:25 +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
26e3062a5c Remove useCallback from decorators.md (#1977) 2022-04-25 22:36:03 +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
Haz
84eed3a07c Fix code syntax in the emoticons example (#1807) 2022-04-17 07:18:05 +01:00
e46e0e2d7f fix typo (#1737) 2022-04-14 19:20:54 +01:00
cc4f9ee878 fix typo (#1700)
Co-authored-by: orange.bae <orange.bae@webtoonscorp.com>
2022-04-14 00:21:51 -04:00
a0771b2f04 Fix docs for typed commands (#1689)
* Update docs for typed commands

* Fix spelling mistake
2022-04-13 23:10:01 +01:00
2cfeb1188c Remove DecoratorNode state (#1665)
* Remove DecoratorNode state

* Fix Flow issue
2022-04-13 15:51:11 +01:00
1dc12c82e4 registerNodeTransform (#1606) 2022-04-09 00:43:37 -07:00
6e77bdac34 Rename types (#1571) 2022-04-09 00:43:35 -07:00
1616879274 Move command type out of listeners to registerCommandListener (#1551)
* Move command type out of listener callback to registerCommandListener outer method

* Remove optional chaining

* correct boolean values returned from some command callbacks

* Fix bug with priorty ordering

* clarify type

* Fix failing E2E

* Fix E2E bug

* Wrap mutiple commands in withSubscriptions

* update docs

* Address small issues and add unit test

* remove console logs

* Fix E2E bugs

* Fix E2E bugs

* Remove flow fixmes and add invariant
2022-04-09 00:43:35 -07:00
12d60f70b7 Rename listener methods to include type in the method name (#1514)
* Renamed listener methods

* Fix bug in root listener
2022-04-09 00:43:33 -07:00
ee9b624f0c Change add* API prefixes to register* (#1511)
Oops

Revert bad changes
2022-04-09 00:43:33 -07:00
f6a576d94b Rename to addNodeTransform (#1459) 2022-04-09 00:43:29 -07:00
de7f9c4d08 Plain/RichTextPlugin to handle initialEditorState + editor.isReadOnly (#1358) 2022-04-09 00:43:26 -07:00
0e5a9f5730 Update readme with bootstrap (#1272)
* update readme with bootstrap

* lexical-react updated readme
2022-04-09 00:43:23 -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
5ecd00c8b8 Add simple decorator node example into readme (#1229)
* Add custom decorator node example
2022-04-09 00:43:20 -07:00
e8d21d72c9 Add examples directory with emoticons example. (#1219) 2022-04-09 00:43:20 -07:00