@hailin-zheng/editor-core 2.0.23 → 2.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -28039,7 +28039,7 @@ class DocEditor {
28039
28039
  dataEle.setValue(values);
28040
28040
  editor.setDataElemEndFocus(dataEle);
28041
28041
  if (!multiSelect) {
28042
- editor.selectionState.clear();
28042
+ editor.selectionState.resetRange(dataEle.endDecorate, 1);
28043
28043
  }
28044
28044
  };
28045
28045
  const itemsVNode = options.map(item => {