Fix tinymce editor problems (#743)

Internal issue: https://2u-internal.atlassian.net/servicedesk/customer/portal/9/CR-6328?created=true

Reverted 6 merged PRs due to problems.

scroll was not working on editors
potential problems with editor content loading

------------------------------------------------------


* Revert "fix(deps): update dependency @edx/frontend-lib-content-components to v1.177.4 (#742)"

This reverts commit cc40e9d6cb.

* Revert "feat: add escalation email field for LTI-based proctoring providers (#736)"

This reverts commit 0f483dc4e1.

* Revert "fix: video downloads (#728)"

This reverts commit c5abd21569.

* Revert "fix: import api to chunk file (#734)"

This reverts commit 6f7a992847.

* Revert "feat: Taxonomy delete dialog (#684)"

This reverts commit 1eff489158.

* Revert "fix(deps): update dependency @edx/frontend-lib-content-components to v1.177.1 (#727)"

This reverts commit dcabb77218.
This commit is contained in:
Jesper Hodge
2023-12-12 18:23:26 -05:00
committed by GitHub
parent cc40e9d6cb
commit e6ce05571f
45 changed files with 400 additions and 1051 deletions

View File

@@ -9,8 +9,6 @@ import {
getExportTaxonomyApiUrl,
getTaxonomyListData,
getTaxonomyExportFile,
getTaxonomyApiUrl,
deleteTaxonomy,
} from './api';
let axiosMock;
@@ -61,13 +59,6 @@ describe('taxonomy api calls', () => {
expect(result).toEqual(taxonomyListMock);
});
it('should delete a taxonomy', async () => {
axiosMock.onDelete(getTaxonomyApiUrl()).reply(200);
await deleteTaxonomy();
expect(axiosMock.history.delete[0].url).toEqual(getTaxonomyApiUrl());
});
it('should set window.location.href correctly', () => {
const pk = 1;
const format = 'json';