@kaitify/core 0.0.1-beta.33 → 0.0.1-beta.34

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.
@@ -6095,6 +6095,8 @@ const imageResizable = (editor) => {
6095
6095
  enabled: true,
6096
6096
  //指定可以调整大小的边缘
6097
6097
  edges: { left: false, right: true, bottom: false, top: false },
6098
+ //设置可拖拽区域宽度
6099
+ margin: 5,
6098
6100
  //设置鼠标样式
6099
6101
  cursorChecker() {
6100
6102
  return editor.isEditable() ? "ew-resize" : "default";
@@ -6263,6 +6265,8 @@ const videoResizable = (editor) => {
6263
6265
  enabled: true,
6264
6266
  //指定可以调整大小的边缘
6265
6267
  edges: { left: false, right: true, bottom: false, top: false },
6268
+ //设置可拖拽区域宽度
6269
+ margin: 5,
6266
6270
  //设置鼠标样式
6267
6271
  cursorChecker() {
6268
6272
  return editor.isEditable() ? "ew-resize" : "default";
@@ -35833,6 +35837,8 @@ const tableResizable = (editor) => {
35833
35837
  enabled: true,
35834
35838
  //指定可以调整大小的边缘
35835
35839
  edges: { left: false, right: true, bottom: false, top: false },
35840
+ //设置可拖拽区域宽度
35841
+ margin: 5,
35836
35842
  //设置鼠标样式
35837
35843
  cursorChecker(_action, _interactable, element2, _interacting) {
35838
35844
  return editor.isEditable() && element2.nextElementSibling ? "ew-resize" : "default";