yf-yang

Results 33 comments of yf-yang

Please review [#5](https://github.com/liyangbit/PyDataRoad/pull/5)

@STRML I just rebased the code, but 2 tests still fail. I think `simulateMovementFromTo` function isn't working properly so `GridItem.moveDroppingItem` returns earlier than expected, but I don't know what is...

> if this style of decoration would be better off as a protocol that any node could participate in (possibly excluding TextNode), rather than adding adding a separate superclass for...

> children expect to have their parent be an ElementNode You are right. getParent usually involves positional methods like getPreviousSiblings, getNodesBetween, insertAfter. Taking the CardNode example above, `title` and `body`'s...

Yes that's inevitable. This node should be experimental and it takes a while to be stable, but anyway those utility codes are easy to fix, just hard to find all...

Or what about this? Tuple (known number of children named by indexes) and objects are the same, so ``` javascript class CardNode extends DecoratorElementNode { _titleRoot = $createDecoratorRootNode(); _bodyRoot =...

I've changed some API design and initiate an usable draft https://github.com/facebook/lexical/pull/5981 @etrepum @StyleT You are welcome to comment and share opinions!

> To be honest, this problem will definitely become the main reason for me to abandon the use of Lexical one day. TBH I'm losing my patience too. I've invested...

@LvChengbin For your selection case specifically, I've encountered similar issue before. I personally recommend you to create something like , which internally globally maintains a variable that records which editor...