MDL-53407 themes: Add CSS class `editing` only if appropriate