mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-27 05:15:56 +03:00
[PR #712] [MERGED] add save code to file button #862
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#862
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BoostIO/BoostNote-App/pull/712
Author: @just-test-code
Created: 12/4/2020
Status: ✅ Merged
Merged: 12/7/2020
Merged by: @Rokt33r
Base:
master← Head:master📝 Commits (5)
3e070a0add save code to file buttond7f6445add guess extensiond75fe7dremove file-saver6bbac8aRevert "remove file-saver"45bce46use downloadBlob📊 Changes
1 file changed (+18 additions, -6 deletions)
View changed files
📝
src/components/atoms/markdown/CodeFence.tsx(+18 -6)📄 Description
add save code to file
Fix from #710 when
rawContentis undefined still show save buttonif use
writeFileandshowOpenDialogmaybe it can't be saved on the web, I think file saver is better.hope you fix : If the code has no template,
rawContentis undefined. The copy button doesn't work either.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.