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:

A Guide To Wrapper Vs. Container Classes In CSS

A guide to wrapper vs. container classes in CSS

A breakdown of the wrapper and container CSS classes, how they’re used in real-world code, and when it makes sense to use one over the other.

Temitope Oyedele
Jul 7, 2025 â‹… 10 min read
Stagehand and Gemini logos on a gradient background symbolizing AI web automation

How to build a web-based AI agent with Stagehand and Gemini

This guide walks you through creating a web UI for an AI agent that browses, clicks, and extracts info from websites powered by Stagehand and Gemini.

Elijah Asaolu
Jul 4, 2025 â‹… 8 min read
Getting Started With Claude 4 API: A Developer's Walkthrough

Getting started with Claude 4 API: A developer’s walkthrough

This guide explores how to use Anthropic’s Claude 4 models, including Opus 4 and Sonnet 4, to build AI-powered applications.

Andrew Baisden
Jul 3, 2025 â‹… 16 min read
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
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