@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;
|