6 Commits

Author SHA1 Message Date
c415f7a09b [lexical-react] Refactor: Replace React$MixedElement and React$Node with React.MixedElement and React.Node (#6984) 2024-12-23 18:31:36 +00:00
2b611f4a5f Add a function to create a LinkMatcher based on a RegExp (#3972) 2023-03-14 10:17:25 +00:00
eba01984da feat: Extend support for link target and rel to lexical-react’s AutoLinkPlugin (#3209)
* fix: Remove redundant conditional check

* Fix out-of-date LexicalLink flow types

$createAutoLinkNode and toggleLink were missing latest changes to link attributes (rel & target) support

* Add and use LinkAttributes type in lexical-link

* feat: Support link target + rel in AutoLinkPlugin

* docs: Cleanup trailing commas in react/plugins.md

* docs: Add default protocol in AutoLinkPlugin example

* docs: Add example usage of LinkMatcher rel/target
2022-11-06 17:36:51 -07: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
91ba472576 Remove default exports from synced packages (#2193) 2022-05-17 15:04:32 +01:00
5c9b3566bb Make type defs for lexical react (#1369)
* Add Flow type definitions for Lexical React

* Fix bugs

* Revert bad merge
2022-04-09 00:43:26 -07:00