Felix Feng
Felix Feng
Yes, for the sake of reducing the complexity of the work, we haven't considered the expanded situation temporarily.
I think you can check the parent node props in the else statement.
In your solution could I selection cross block? 
It's better the overall alignment is none.
I think we had better do some thing here since it's have more readability· if (isCollapsed(editor.selection)) { }else { do some check here }
@12joan I have accept your suggestion. I intend to spilt this feature into three plugin.This is the `createNaturalMarkAffinityPlugin` one. it exclude the mark which have padding-left or padding-right like MARK_CODE....
> > it exclude the mark which have padding-left or padding-right like MARK_CODE. > > Due to limitations with Slate, we cannot set the cursor to the far left and...
Thank your valuable advice. @12joan
用React的可以了解一下Plate中文文档很快就有https://platejs.org/.
I think this will be fixed by #3064