Unable To Edit Page Source in WebCenter Portal 12c When Template References CSS From Remote Servers
(Doc ID 2527345.1)
Last updated on FEBRUARY 28, 2023
Applies to:Oracle WebCenter Portal - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
When using WebCenter Portal 18.104.22.168 and trying to edit the page source, a blank page is displayed that doesn't load and the following error is displayed in the browser console:
Uncaught DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
at Function.AdfDhtmlCodeEditorPeer._getCSS (:97:369)
at Function.AdfDhtmlCodeEditorPeer._initCodeMirror (:90:294)
at Function.AdfDhtmlCodeEditorPeer._waitForCSSResourcesLoad (:112:225)
Issue reproduces in Chrome and Firefox. IE 11 works fine and the source code for the page can be viewed.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document