Comments (5)
Some hints for implementation:
In order to fix the light mode for the toolbar, there will be the need of manipulating the classes of the toolbar element using this function:
https://github.com/codimd/server/blob/36c083277e6c74bb6eac495971522e6932cfc207/public/js/lib/editor/index.js#L414-L447
The color difference between the upload button and the rest comes from this class:
Finally the toolbar itself can be found here: https://github.com/codimd/server/blob/master/public/js/lib/editor/toolbar.html
If any further help is needed, feel free to reach out :)
from hedgedoc.
at the same time, the upload button does not honor night mode:
from hedgedoc.
😅 Who didn't take care of that? I'll provide a PR to fix both :)
In order to leave it to someone who is new to the project and wants to take their first steps, I'll leave this to them.
from hedgedoc.
Oh, and the label changes to the last chosen file's name. Not sure whether this is intended, but I guess it's due to the <input type="file">
.
And you get no response if the chosen file type is not supported.
from hedgedoc.
Most of this ticket has been fixed in #44, and I created #63 to address the upload button at a later time.
from hedgedoc.
Related Issues (20)
- Template variable in maximum note length is not expanded on HedgeDoc 2 HOT 1
- Developer documentation link inside readme is not working HOT 12
- Revision viewer showing error during revision loading HOT 2
- Check Windows compatibility
- plotting mathematical functions with `gnuplot` code block extension HOT 1
- "Note not found" page not readable with light theme
- Re-add user-friendly error pages
- Hedgedoc 2 alpha: endless memory leak in the editor reproducible under Firefox HOT 2
- Dev Setup is not working on HTTP HOT 2
- Firefox Favicon changes randomly on refresh HOT 1
- running ./bin/setup failed: meta-marked: The remote archive doesn't match the expected checksum HOT 2
- Heroku build error: Couldn't find the node_modules state file
- Server crash when hedgedoc container infrastructure is missing avx cpu flag with "Illegal instruction" HOT 5
- Add error message when upload limit applies
- Azure Activate Directory setup documentation is invalid HOT 2
- Prevent Problem with colons for e.g. list introductions HOT 1
- LaTeX Display Mode Breaks Syntax Highlighting HOT 1
- Can't register a new user on https://pad.cas.cat/ HOT 3
- Redirect error on alpha2 container setup HOT 2
- Allow the upload of WebM animations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hedgedoc.