-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 background - Editor #3280
Conversation
@Flexo013 I don't know if you're the appropriate person to ask... |
There are quite a few PRs awaiting a review, so the highest priority ones get picked up first. Also, I don't think anybody requested this feature (there is no GitHub issue for it). So this might be considered a feature that is too much bloat, but that is up to the reviewers/community. It could be worth to make a discussion/feature request issue to see if people want this. As a final note, is this not already sufficiently achievable with the custom CSS? |
I will create a Feature Request. Is there a good medium/channel to present it, or just allow for natural discovery from the community? Also, the custom CSS is specific to the Preview side. Config supports this |
Created the Feature Request issue: #3343 |
you can link to the feature request in slack channel |
Close due to considered as bloat by community :( |
Description
An additional setting is created for the user to provide a path to a background image.
The input takes in a URI like
https://example.com/image.png
file:///C:/Users/userName/images/favoriteBackground.png
The input will inevitably be used in a CSS attribute (
background-image: url(path)
), and so should adhere to the CSS restrictions.The background is applied to the Editor, and uses CSS's background blending for a translucent appearance.
It is not applied to the Snippets editor, only the Markdown Editor.
The background image doesn't update on settings change. Only when CodeMirror is refreshed.So, switching notes will update the background, but simply changing the setting does not. This is a limitation on my skills, as I've never worked with React before.
Background will update when the setting is saved.
DemonstrationI accidently included in this pull request, the addition of
Custom CSS
to theen.json
file. It was a missing value, but isn't directly related to the new feature.Type of changes
Checklist: