Skip to content

Commit

Permalink
[react-native-lexical] change title
Browse files Browse the repository at this point in the history
  • Loading branch information
strdr4605 committed Feb 21, 2024
1 parent 7e153c1 commit 4dd220d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions posts/2024-02-06-react-native-lexical.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
title: "How to setup Lexical editor in React Native"
date: 2024-02-06
title: "How to set up Lexical editor in React Native"
date: 2024-02-21
description: We will look at how to build a rich text editor in React Native using lexical editor, with the help of react-native-webview.
tags:
- react-native
draft: true
---

So you have a web app that uses Lexical editor and now you want to build the same editor on React Native, or maybe you just want to build a rich text editor in React Native using Lexical.
Expand Down Expand Up @@ -534,6 +533,12 @@ And use it in our `Editor.tsx`:
</LexicalComposer>
```

Now let's see it in action:
Let's see it in action:

![lexical-initial-state](lexical-initial-state.gif#small)

## What's next?

Now you can add the desired nodes and plugins into editor. Also, add new messages and commands for communication between React Native and Lexical editor in WebView.

For the full code example, you can check the playground project on GitHub, [react-native-lexical](https://github.com/Planable/react-native-lexical).

0 comments on commit 4dd220d

Please sign in to comment.