Comments (2)
I played around with this a bit and was able to get one of the empty nodes normalized. But I also realized that I'm pretty in the dark about the "lifecycles" that outline uses, aka WHEN is the right time to do something like normalizing nodes -- could use some help with understanding that. @trueadm I put some time on your calendar for Monday evening to chat about this.
I'd also love to know what are the best ways to debug things like this. I was imagining it'd be useful to have a real-time representation of the view model as I'm stepping through the code to see when things are getting attached/detached, etc. Not sure what the best way to do that is.
from lexical.
Note: I'll make a step recorder test once I get cut + copy working properly with it :)
from lexical.
Related Issues (20)
- Bug: EditorRefPlugin triggers endless rendering with function containing setState
- Bug: Typing an invalid or partially valid hashtag followed by a valid hashtag causes infinite transform execution HOT 3
- Bug: Indentation in Markdown is not being reflected HOT 2
- ElementNode format
- Bug: AutoFocusPlugin does not work with markdown.
- Bug: some types are imported as any HOT 4
- Feature: React 16 Support HOT 2
- Bug: Dragging an image onto the same line crashes
- There is no className variable in the context of this docs copy-pasta
- Bug: failure to build with Webpack due to "Module not found: Error: Default condition should be last one" [regression] HOT 2
- Bug: Horizontal Rule node or Page break node selection problem
- Bug: ComponentPickerPlugin scrolling is buggy - dropdown disappears onScroll HOT 1
- Bug: CMD+Delete in a shadow root fails to delete the last paragraph
- Bug: Failed to upgrade Laxical from `0.13.1` to `0.14.x` (React) HOT 1
- Feature: Extend error boundary to all editor listeners
- Bug: Updating to version 0.14 esm error HOT 5
- Is this an AI generated library? HOT 3
- Bug: OnChangePlugin does not fire onChange while typing on Sticky note
- Bug: Numbered list does not increment in ImageNode caption
- Bug: caret jumping to the beginning after Node Transforms HOT 2
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.