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:

ai dev tool power rankings

AI dev tool power rankings & comparison [July 2025 edition]

Which AI frontend dev tool reigns supreme in July 2025? Check out our power rankings and use our interactive comparison tool to find out.

Chizaram Ken
Jul 2, 2025 â‹… 3 min read
how API client automation can save you hours in development

How API client automation can save you hours in development

Learn how OpenAPI can automate API client generation to save time, reduce bugs, and streamline how your frontend app talks to backend APIs.

Lewis Cianci
Jul 1, 2025 â‹… 7 min read
Interface Segregation Principle

SOLID series: Understanding the Interface Segregation Principle (ISP)

Discover how the Interface Segregation Principle (ISP) keeps your code lean, modular, and maintainable using real-world analogies and practical examples.

Oyinkansola Awosan
Jun 30, 2025 â‹… 7 min read
​​How HTML’s Selectedcontent Element Improves Dropdowns

​​How HTML’s <selectedcontent> element improves dropdowns

is an experimental HTML element that gives developers control over how a selected option is displayed, using just HTML and CSS.

Temitope Oyedele
Jun 27, 2025 â‹… 6 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