2022-05-19
1901
#react
Mayowa Ojo
108014
May 19, 2022 ⋅ 6 min read

Building a rich text editor with Lexical and React

Mayowa Ojo Software developer with a knack for exploring new technology and writing about my experience.

Recent posts:

Authentication And Authorization In Astro

Authentication and authorization in Astro

Implement secure authentication and role-based authorization in Astro using JWT, SSR, and Astro middleware for protected routes.

Emmanuel John
May 6, 2025 ⋅ 23 min read
here's why everyone's going crazy over Zod 4

Here’s why everyone’s going crazy over Zod 4

Zod 4 is not just an update; it’s a leap forward for schema validation in TypeScript that truly lives up to the hype.

Popoola Temitope
May 5, 2025 ⋅ 4 min read
A guide to the CSS cursor property

Creating custom mouse cursors with CSS

Learn what custom cursors are and how to use CSS and JavaScript to create custom cursors that will give your website a creative edge.

Samson Omojola
May 5, 2025 ⋅ 8 min read
best JavaScript and HTML5 game engines

Best JavaScript and HTML5 game engines (updated for 2025)

Check out this guide, which ranks the top 10 JavaScript/HTML5 game engines by popularity, capability, and use case.

Solomon Eseme
May 2, 2025 ⋅ 15 min read
View all posts

3 Replies to "Building a rich text editor with Lexical and React"

  1. Hello,

    Need to maintain the same style of the content when I copy and paste it from word to lexical text editor. How we can do that ?

    Eg :

    1. This is format in word :

    • One
    • Two
    • Three
    o 3.1
    o 3.2

    2. But the format comes from lexical after the pasting the same format which copied from word

    • One
    • Two
    • Three
    o 3.1
    o 3.2

    Thank you..

Leave a Reply