Boostnote: Custom CSS Disappears After Saving

Created on 27 May 2019  路  5Comments  路  Source: BoostIO/Boostnote


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


bug rewarded on issuehunt

Most helpful comment

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 :-)

All 5 comments

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.

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

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 :-)

@boostio has funded $20.00 to this issue.


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

  • :moneybag: Total deposit: $20.00
  • :tada: Repository reward(0%): $0.00
  • :wrench: Service fee(10%): $2.00
Was this page helpful?
0 / 5 - 0 ratings

Related issues

necan picture necan  路  3Comments

gavvvr picture gavvvr  路  3Comments

luong-komorebi picture luong-komorebi  路  3Comments

Ocanamat picture Ocanamat  路  3Comments

N2ITN picture N2ITN  路  3Comments