瀏覽代碼

Media embed command is disabled when selected media is in a table cell

Paweł Kwaśnik 5 年之前
父節點
當前提交
760c45a77c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/ckeditor5-media-embed/src/mediaembedediting.js

+ 1 - 0
packages/ckeditor5-media-embed/src/mediaembedediting.js

@@ -171,6 +171,7 @@ export default class MediaEmbedEditing extends Plugin {
 			isObject: true,
 			isBlock: true,
 			allowWhere: '$block',
+			allowIn: 'tableRow',
 			allowAttributes: [ 'url' ]
 		} );