Preview CSS

Ken's Avatar

Ken

22 Sep, 2021 09:11 PM

The preview CSS does not seem to be applying to my preview pane. Changing among the three provided CSS files does not change the preview, even if I restart the app, and if I add my own I'm able to select it, but again the appearance does not change.

If I check Include preview CSS when exporting to HTML, I get this in the exported HTML file:

<style type="text/css">(null)</style>

The alignment is odd, as well; there is a lot of whitespace before the opening heading.

  1. 1 Posted by Ken on 22 Sep, 2021 09:15 PM

    Ken's Avatar

    Searching didn't find it, but browsing turned up Preview CSS not rendered until it's explicitly selected in View menu, and this appears to be exactly the same as what I described above. Closing.

  2. Ken closed this discussion on 22 Sep, 2021 09:15 PM.

  3. Fletcher re-opened this discussion on 24 Sep, 2021 01:09 AM

  4. Support Staff 2 Posted by Fletcher on 24 Sep, 2021 01:09 AM

    Fletcher's Avatar

    Thanks -- found the bug. When fixing something else, I accidentally
    told it to apply the default CSS to a webview before it was created.

    Instead you will have to select a CSS file from the menu bar for the
    window after it is open.

    I'm working on a major update to Composer and this problem doesn't exist
    there. Depending on timing, might have to push out a bug fix release
    before then.

    Thanks again,

    FTP

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • Screen_Shot_2021-09-22_at_17.10.11.png 271 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac