#105848CKEditor inspector creates CSP errors + (sometimes) breaks IRRE records (Firefox)
Description
IF debug mode in BE is enabled with [BE][debug] = true, the inspector for CKEditor is automatically enabled (see #100284).
In Firefox this leads to CSP errors (see also #102323):
firefox-console-ckeditor-csp-error.png
The problem can get worse, if you have inline records, which also have an RTE field with CKEditor. Strangely, I can’t consistently reproduce this behaviour, but sometimes the AJAX request results in an error and the inline record is not displayed:
firefox-ckeditor-inline-error.png
This problem with IRRE records not opening is actually the reason, why I noticed the CSP problem in the first place.
Disabling the BE debug mode makes all the problems go away.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.