Skip to content

Commit 168e3a9

Browse files
committed
Revert returning editor instance on init
1 parent db22bc1 commit 168e3a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tinymce-angular-component/src/test/ts/alien/TestHooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const editorHook = <T = unknown>(component: Type<T>, moduleDef: TestModul
7777
if (editor.initialized) {
7878
resolve(editor);
7979
}
80-
editor.once( 'init', () => resolve(editor));
80+
editor.once( 'SkinLoaded', () => resolve(editor));
8181
})
8282
),
8383
map(

tinymce-angular-component/src/test/ts/browser/LoadTinyTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ describe('LoadTinyTest', () => {
4747
});
4848
}
4949

50-
for (const version of [ '4', '5', '6', '7', '8' ] as Version[]) {
50+
for (const version of [ '5', '6', '7', '8' ] as Version[]) {
5151
context(`With cloud version ${version}`, () => {
5252
const createFixture = editorHook(EditorComponent);
5353

0 commit comments

Comments
 (0)