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:

Fix over-caching with dynamic IO caching in Next.js 15

Next.js 15 caching overhaul: Fix overcaching with Dynamic IO and the use cache directive.

David Omotayo
Aug 6, 2025 â‹… 10 min read
LLMs are facing a QA crisis here’s how we could solve it

LLMs are facing a QA crisis: Here’s how we could solve it

LLM QA isn’t just a tooling gap — it’s a fundamental shift in how we think about software reliability.

Rosario De Chiara
Aug 4, 2025 â‹… 7 min read

Windsurf vs. Cursor: When to choose the challenger

Windsurf AI brings agentic coding and terminal control right into your IDE. We compare it to Cursor, explore its features, and build a real frontend project.

Chizaram Ken
Jul 31, 2025 â‹… 9 min read

The CSS if() function: Conditional styling will never be the same

The CSS Working Group has approved the if() function for development, a feature that promises to bring true conditional styling directly to our stylesheets.

Ikeh Akinyemi
Jul 30, 2025 â‹… 12 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