Merge pull request #81 from edx/kenclary/TNL-9943

fix: allow style tags inside html body, to match old editor behavior. TNL-9943.
This commit is contained in:
kenclary
2022-05-26 13:44:41 -04:00
committed by GitHub

View File

@@ -77,6 +77,7 @@ export const editorConfig = ({
contextmenu: 'link table',
...pluginConfig.config,
valid_elements: '*[*]',
valid_children: '+body[style]',
imagetools_cors_hosts: [removeProtocolFromUrl(lmsEndpointUrl), removeProtocolFromUrl(studioEndpointUrl)],
},
});