Skip to main content
0 votes
0 answers
219 views

I'm building a document editor using Lexical (React) and want to replicate Word-style visual pagination where content is split into A4-sized .page blocks based on height. ✅ What I have so far: The ...
Zuhayr's user avatar
  • 11
0 votes
0 answers
285 views

In Payload CMS, is it possible to migrate html, containing images and code blocks, into lexical editor? I added a custom ImageNode into the headless editor's nodes: const headlessEditor = ...
Valentin Bytenskiy's user avatar
0 votes
0 answers
52 views

I am developing an email template creator and editor app. I am using lexical for the text editor engine. Now I implemented to load the content from the database and the loading works fine but if I ...
Bátorfalvi Géza's user avatar
0 votes
0 answers
113 views

I'm working on building a mentions component to use across my application. Here's the core functionality I need: Trigger Key: For example, {{, /, or @. Backspace Handling: Mentions should be properly ...
user27717660's user avatar
1 vote
1 answer
354 views

I’m working with Lexical and using the $wrapSelectionInMarkNode() function to wrap the current selection in a markNode. However, I need to add a custom class name to the markNode in order to apply ...
user avatar
0 votes
1 answer
59 views

Hello I have a formula child(1);false and I am trying to parse it. I have tried several variations but somehow none of them are working "child" ~ "(" ~> numericLit <~ ");...
Muhammad Daniyal Danish's user avatar
3 votes
0 answers
384 views

I'm working on a project using Lexical editor with Yjs for real-time collaboration, and my backend is built with NestJS. I’m trying to figure out how to get the content from the Lexical editor when ...
Firas Latrach's user avatar
1 vote
0 answers
97 views

I'm trying to create a custom image plugin using Lexical's Rich Text editor. All my lexical packages are version 0.17.1. Here's my code: // ImageNode.jsx import { DecoratorNode } from 'lexical'; ...
Emman's user avatar
  • 31
1 vote
1 answer
1k views

I’m working with a Command component from ShadCN within a LexicalTypeaheadMenuPlugin, and I want to set focus programmatically on the Command component as soon as it renders. I’m using useRef and ...
Umamaheswaran's user avatar
1 vote
0 answers
35 views

I am tring to create a link button in my RCE I am making with Lexical. I am trying to import the FloatingLinkEditorPlugin, but its not included with the package. With everything I am reading it should ...
skyler rasmussen's user avatar
0 votes
1 answer
72 views

While reading about 'this' keyword and arrow function, I read: that arrow functions binds to whatever execution context the surrounding scope has. I have attached a simple code example below. When I ...
aarshin gupta's user avatar
0 votes
1 answer
368 views

i am using lexical rich text editor with table and i am facing issue while pasting table from outside. this issue is from library but still am not able to file way that how to achieve it for ref: new ...
Deepak Kumar's user avatar
0 votes
1 answer
425 views

We built the React project in 16.4.0. When I try to install the lexical editor, I get the peer dependency error saying that the React version should be at least 17 or more than that. I tried to ...
meghshah's user avatar
0 votes
1 answer
2k views

I have custom TextNode but AutoLinkPlugin doesn't work with it. After a bit of debugging it looks like Transform doesn't respect nodes replacement. I managed to get it working by copying key of ...
Derag's user avatar
  • 136
2 votes
0 answers
1k views

I have a quite complex task - I need to migrate content from another CMS into Payload 3.0. Content: posts, works, articles with rich texts, assets... packages: payloadcms: 3.0.0-beta.20 lexical: 0.14....
Deividas Šaltupis's user avatar

15 30 50 per page
1
2 3 4 5
15