@lvce-editor/virtual-dom 3.4.0 → 3.5.0

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -767,6 +767,10 @@ const getEventListenerArg = (param, event) => {
767
767
  return event.target.dataset.index;
768
768
  case 'event.target.nodeName':
769
769
  return event.target.nodeName;
770
+ case 'event.target.selectionStart':
771
+ return event.target.selectionStart;
772
+ case 'event.target.selectionEnd':
773
+ return event.target.selectionEnd;
770
774
  default:
771
775
  return param;
772
776
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/virtual-dom",
3
- "version": "3.4.0",
3
+ "version": "3.5.0",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "keywords": [],