Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom CSS Disappears After Saving #3041

Closed
omnomz opened this issue May 27, 2019 · 5 comments
Closed

Custom CSS Disappears After Saving #3041

omnomz opened this issue May 27, 2019 · 5 comments
Labels
bug 🐛 Issue concerns a bug. rewarded on issuehunt 🎁 Issue has been resolved and a contributor has been rewarded.

Comments

@omnomz
Copy link

omnomz commented May 27, 2019

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

@ZeroX-DG ZeroX-DG added the bug 🐛 Issue concerns a bug. label May 27, 2019
@Splitix
Copy link

Splitix commented May 28, 2019

I can confirm this is happening as well. The CSS changes seem to still work, but doesn't display in the custom css box anymore.

@Zoltar358
Copy link

  • Same here. CSS code disappears, but seems to be working.
  • OS version and name: Manjaro Linux 18.04 Illyria

@Hanshin8086
Copy link

Same error. I'm using Windows 7, 10 and MacOS Mojave.

To fix this error, I commented the following line from 'main.js' and it works.

defaultValue: '/* Drop Your Custom CSS Code Here */\n',

But there's another problem for version 0.11.17!!
When I installed it on windows 7 and 10. The folder named 'Junyoung Choi' was created in Start Menu! Please fix this problem in next version :-)

@issuehunt-oss issuehunt-oss bot added the funded on issuehunt 💵 Issue has received funding that will be rewarded to the contributor solving this issue. label Jun 7, 2019
@IssueHuntBot
Copy link

@BoostIO has funded $20.00 to this issue.


@issuehunt-oss issuehunt-oss bot added rewarded on issuehunt 🎁 Issue has been resolved and a contributor has been rewarded. and removed funded on issuehunt 💵 Issue has received funding that will be rewarded to the contributor solving this issue. labels Jun 17, 2019
@issuehunt-oss
Copy link

issuehunt-oss bot commented Jun 17, 2019

@kazup01 has rewarded $18.00 to @KazumiHARADA. See it on IssueHunt

  • 💰 Total deposit: $20.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $2.00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issue concerns a bug. rewarded on issuehunt 🎁 Issue has been resolved and a contributor has been rewarded.
Projects
None yet
Development

No branches or pull requests

6 participants