Comments (2)
I think this would make a very nice first issue: The button leads to a URL that is essentially /s/<note-id>/edit
which is then defined as a route here:
and which will lead to this function that actually does the rediect.
So, essentially by changing this line, you could solve your own request:
https://github.com/codimd/server/blob/f13a91c6988b55a0cd50fc530bdc13baa96bf3b4/lib/response.js#L430
There's a similar thing in slides mode by the way, the two should be fixed at the same time:
https://github.com/codimd/server/blob/f13a91c6988b55a0cd50fc530bdc13baa96bf3b4/lib/response.js#L444
All that would be needed is to add ?both
to the url!
from hedgedoc.
Thanks heaps for the explanations! I definitely needed some hand-holding :)
Hopefully this does it: #37
Cheers
from hedgedoc.
Related Issues (20)
- Support for markdown alerts based on the blockquote syntax HOT 2
- Remove dependency on "example.org" HOT 3
- Cannot connect to mariadb 11.2.2 (Got an error writing communication packets) HOT 2
- Problems with deleting characters in Firefox on Android HOT 1
- Pass config option `sslCAPath` to passport (authentication library)
- Add stats to user list
- Export user data with images HOT 1
- Update Authelia Auth Documentation
- Document Google Cloud Storage as s3 media backend HOT 6
- Implement support to serve media from private buckets HOT 1
- Can't paste image HOT 4
- Custom emojis HOT 1
- Store user-provided access tokens in CredentialsContainer
- Offer automatic "system" light/dark theme switching using `prefers-color-scheme` HOT 1
- Edit button redirects to wrong link HOT 2
- Re-add buttons for switching editor mode between View/Both/Edit
- Codeblocks syntax highlighting and background
- Documentation for project setup HOT 5
- support rendering csv codeblocks as tables HOT 1
- Kanban board renderer HOT 2
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.