Comments (4)
Probably related to #59.
from lexical.
Yeah there is an italic node after, you can tell from the flags being 20 for the node. Looks like a bug in formatText
from lexical.
I've found the cause for this issue. It's a recent regression that came about from the change to getTargetRanges
. When entering content into an empty text, getTargetRanges
doesn't seem to want to target the empty text node, but rather the previous text node.
from lexical.
Should be fixed now.
from lexical.
Related Issues (20)
- Bug: underline strikethrough HTML serialization does not match editor HOT 7
- Feature: Is it possible to create and merge a read-only React Component package? HOT 1
- Feature: is there any integration with grammar checking functions? HOT 1
- Bug: AutoLinkPlugin triggers breakdown with certain input HOT 4
- Bug: Cannot insert image to new inserted table row in playground HOT 2
- Bug: ts not exported for @lexical/table HOT 7
- Bug: The CSS indent in the playground differs from that in the exported DOM. HOT 2
- Bug: Holding backspace sets selection to front without deleting first word on Android
- Bug: CollapsibleTitleNode has an error when first insert and type enter
- Bug: build prerelease on macOS HOT 1
- Feature: optional flag that prevents last created mark node selection in $wrapSelectionInMarkNode?
- Bug: drop-down menu will not be loaded in a sub-application loaded by qiankun
- Bug: lexical/markdown's $convertFromMarkdownString is hardcoded to transform code with a transformer and does not emit <pre> tags HOT 3
- Bug: Duplicate Text Node Creation in $generateNodesFromDOM Function HOT 2
- Bug: $insertNodeToNearestRoot inserts extra paragraph node if layout node is inserted at the end of text node.
- Feature: support text formats out of the box HOT 10
- Bug: $generateNodesFromDOM does not correctly display colors and backgrounds. HOT 1
- Question: Is it possible for TextNode to not wrap raw text with <span> ? HOT 5
- Bug: logic issue in LexicalSelection.ts file that make collapseAtStart never run
- Bug: TypeError: $isGridSelection is not a function HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lexical.