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:

what are the event loop and call stack in JavaScript

What are the event loop and call stack in JavaScript?

Learn how the call stack, event loop, and various queues help JavaScript handle asynchronous operations while maintaining its single-threaded nature.

Ikeh Akinyemi
Feb 18, 2025 â‹… 6 min read
how and when to use JavaScript arrow functions

How and when to use JavaScript arrow functions

Arrow functions have a simpler syntax than standard functions, and there are some important differences in how they behave.

Joe Attardi
Feb 17, 2025 â‹… 5 min read
javascript is null or empty function

How to check for null, undefined, or empty values in JavaScript

In most languages, we only have to cater to null. But in JavaScript, we have to cater to both null and undefined. How do we do that?

Lewis Cianci
Feb 14, 2025 â‹… 4 min read
MERN Stack: Overview With Examples

What is the MERN stack? Overview with examples

Discover how the MERN stack (MongoDB, Express.js, React, Node.js) enables developers to build dynamic, performant, modern websites and apps.

Nefe Emadamerho-Atori
Feb 13, 2025 â‹… 20 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