@ones-editor/editor 0.0.7-beta.58 → 0.0.7-beta.59

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/dist/index.js CHANGED
@@ -71251,7 +71251,7 @@ ${data.flowchartText}
71251
71251
  if (oldBlock && isVideoBlock(oldBlock)) {
71252
71252
  this.disableBlockResize(oldBlock);
71253
71253
  }
71254
- if (newBlock && isVideoBlock(newBlock)) {
71254
+ if (newBlock && isVideoBlock(newBlock) && this.editor.isBlockWritable(newBlock)) {
71255
71255
  const resizableElement = this.getVideoElement(newBlock);
71256
71256
  if (!resizableElement) {
71257
71257
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "0.0.7-beta.58",
3
+ "version": "0.0.7-beta.59",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",