fix: retrieve raw content from TinyMCE editor (#31212)

During the upgrade to TinyMCE v5, we changed the content format to `text`.
However, it ignores changes in HTML tags. This reverts the format to `raw`.
This commit is contained in:
Asad Ali
2022-11-07 08:44:54 -08:00
committed by GitHub
parent fd2e95f531
commit cb4279dd9e
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ describe('HTMLEditingDescriptor', function() {
});
it('Returns data from Raw Editor if text has not changed', function(done) {
const visualEditorStub =
{getContent() { return 'original visual text' }};
{getContent() { return '<p>original visual text</p>' }};
spyOn(this.descriptor, 'getVisualEditor').and.callFake(() => visualEditorStub);
var self = this;