Explorar o código

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

Paweł Kwaśnik %!s(int64=5) %!d(string=hai) anos
pai
achega
760c45a77c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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' ]
 		} );