Skip to content

Custom CSS Disappears After Saving #3041

@omnomz

Description

@omnomz

Issuehunt badges

Current behavior

Custom CSS is applied but code disappears in preferences tab saving.

disappearingcss

(Apologies about the speed, first time converting .mov to .gif)

Expected behavior

Custom CSS should remain under preferences tab. Had a bunch of CSS to adjust KaTeX font-size but they're all gone after the v0.11.16 update.

Steps to reproduce

  1. Define a simple line of CSS in the custom CSS box like:
    .katex{ font-size: 1.0em !important; }
  2. Save changes, font size of math in preview is reduced.
  3. Go back to preferences and scroll to the bottom. Custom CSS box is empty except for the default /* Drop Your Custom CSS Code Here */

Environment

  • Version : 0.11.16/0.11.17
  • OS Version and name : macOS 10.14.5 Mojave

IssueHunt Summary

kazumiharada kazumiharada has been rewarded.

Sponsors (Total: $20.00)

Tips

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Issue concerns a bug.rewarded on issuehunt 🎁Issue has been resolved and a contributor has been rewarded.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions