[PR #750] [MERGED] Fix copy snippet without language #878

Closed
opened 2026-03-03 00:23:36 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BoostIO/BoostNote-App/pull/750
Author: @Komediruzecki
Created: 12/29/2020
Status: Merged
Merged: 12/31/2020
Merged by: @Rokt33r

Base: masterHead: bugfix/fix-copy-snippet-without-lang


📝 Commits (2)

  • 652cc53 Fix copy snippet without language
  • 2ccc3af Refine behaviors of code fence button handlers

📊 Changes

2 files changed (+60 additions, -41 deletions)

View changed files

📝 src/components/atoms/MarkdownPreviewer.tsx (+11 -14)
📝 src/components/atoms/markdown/CodeFence.tsx (+49 -27)

📄 Description

Fix copy snippet without language (#749)

  • Reorder markdown preview attacher to set raw data even on null lang items
  • Fix some style code issues and formatting in copy snipppet and save snippet as file

Test:

  • In electron Linux App (dev)
  • In electron Linux App production version (appImage)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BoostIO/BoostNote-App/pull/750 **Author:** [@Komediruzecki](https://github.com/Komediruzecki) **Created:** 12/29/2020 **Status:** ✅ Merged **Merged:** 12/31/2020 **Merged by:** [@Rokt33r](https://github.com/Rokt33r) **Base:** `master` ← **Head:** `bugfix/fix-copy-snippet-without-lang` --- ### 📝 Commits (2) - [`652cc53`](https://github.com/BoostIO/BoostNote-App/commit/652cc5349e95434fbd26a1c82e5168260214c145) Fix copy snippet without language - [`2ccc3af`](https://github.com/BoostIO/BoostNote-App/commit/2ccc3afd9aaf49a2ab387622d7d4cdcd12116345) Refine behaviors of code fence button handlers ### 📊 Changes **2 files changed** (+60 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `src/components/atoms/MarkdownPreviewer.tsx` (+11 -14) 📝 `src/components/atoms/markdown/CodeFence.tsx` (+49 -27) </details> ### 📄 Description **Fix copy snippet without language** (#749) - Reorder markdown preview attacher to set raw data even on null lang items - Fix some style code issues and formatting in copy snipppet and save snippet as file Test: - In electron Linux App (dev) - In electron Linux App production version (appImage) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 00:23:36 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#878
No description provided.