diff --git a/packages/ckeditor5-html-embed/src/htmlembed.js b/packages/ckeditor5-html-embed/src/htmlembed.js
index 21667e39fd2..5fb53953180 100644
--- a/packages/ckeditor5-html-embed/src/htmlembed.js
+++ b/packages/ckeditor5-html-embed/src/htmlembed.js
@@ -10,6 +10,7 @@
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import HtmlEmbedEditing from './htmlembedediting';
import HtmlEmbedUI from './htmlembedui';
+import Widget from '@ckeditor/ckeditor5-widget/src/widget';
/**
* The HTML embed feature.
@@ -25,7 +26,7 @@ export default class HtmlEmbed extends Plugin {
* @inheritDoc
*/
static get requires() {
- return [ HtmlEmbedEditing, HtmlEmbedUI ];
+ return [ HtmlEmbedEditing, HtmlEmbedUI, Widget ];
}
/**
diff --git a/packages/ckeditor5-html-embed/tests/htmlembed.js b/packages/ckeditor5-html-embed/tests/htmlembed.js
index 291e79826a3..e5484de28f3 100644
--- a/packages/ckeditor5-html-embed/tests/htmlembed.js
+++ b/packages/ckeditor5-html-embed/tests/htmlembed.js
@@ -6,10 +6,11 @@
import HtmlEmbed from '../src/htmlembed';
import HtmlEmbedUI from '../src/htmlembedui';
import HtmlEmbedEditing from '../src/htmlembedediting';
+import Widget from '@ckeditor/ckeditor5-widget/src/widget';
describe( 'HtmlEmbed', () => {
- it( 'should require HtmlEmbedEditing and HtmlEmbedUI', () => {
- expect( HtmlEmbed.requires ).to.deep.equal( [ HtmlEmbedEditing, HtmlEmbedUI ] );
+ it( 'should require HtmlEmbedEditing, HtmlEmbedUI and Widget', () => {
+ expect( HtmlEmbed.requires ).to.deep.equal( [ HtmlEmbedEditing, HtmlEmbedUI, Widget ] );
} );
it( 'should be named', () => {