Restore SafeStyles when cleditor is not in use

See #2199