I'm branding the sharepoint ribbon and need some changes (css) when the page gets in pagepreview mode.
I've got this code
<SharePoint:SpSecutirtyTrimmedControl runat="server" ID="SPSecurityTrimmedControlRibbon" PermissionString="BrowseDirectories" PermissionMode="Any">
<Common:ScriptCssLink DebugLink="/Style%20Library/css/editor.css" Link="/Style%20Library/css/editor.css" runat="server"/>
</SharePoint:SPSecurityTrimmedControl>
Why does this css loads when the site is in PagePreview mode - ex http//test.com?pagepreview=true