Felix Feng

Results 14 comments of 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? ![image](https://github.com/udecode/plate/assets/164472012/a78b7bef-6f98-4269-939b-60686673cf87)

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/.