[GH-ISSUE #749] Can't copy code block if no type specified #390

Closed
opened 2026-03-03 00:20:47 +03:00 by kerem · 3 comments
Owner

Originally created by @myicq on GitHub (Dec 29, 2020).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/749

Current behavior

If you do not specify a type for a code fence, the text won't get copied to clipboard, even if icon to copy is there.

Text is displayed as code block.

Expected behavior

Copy icon to work when it's there.

Steps to reproduce

Make a code block without type:

         ```
         This is some text 
         ```

Go to preview. Copy icon is there, but no "save" icon. Copy icon does not work.

Go back to edit, and put type:

         ```text
         This is some text 
         ```

Now the copy icon and save icon are both there, and text can be copied.

Environment

Win10, 64 bit, Boostnote 0.12.3

Desktop/Web

Boost Note 0.12.3, Win10 64 bit.

Originally created by @myicq on GitHub (Dec 29, 2020). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/749 # Current behavior If you do not specify a type for a code fence, the text won't get copied to clipboard, even if icon to copy is there. Text is displayed as code block. # Expected behavior Copy icon to work when it's there. # Steps to reproduce Make a code block without type: ``` ``` This is some text ``` ``` Go to preview. Copy icon is there, but no "save" icon. Copy icon does not work. Go back to edit, and put type: ``` ```text This is some text ``` ``` Now the copy icon and save icon are both there, and text can be copied. # Environment Win10, 64 bit, Boostnote 0.12.3 ## Desktop/Web Boost Note 0.12.3, Win10 64 bit.
kerem 2026-03-03 00:20:47 +03:00
  • closed this issue
  • added the
    bug 🐛
    label
Author
Owner

@myicq commented on GitHub (Dec 29, 2020):

NOTE: found that this is a duplicate of issue #585, but confirmed for latest version and on Windows platform.

<!-- gh-comment-id:752167281 --> @myicq commented on GitHub (Dec 29, 2020): NOTE: found that this is a duplicate of issue #585, but confirmed for latest version and on Windows platform.
Author
Owner

@Komediruzecki commented on GitHub (Dec 29, 2020):

Hi myicq,

I think this was forgotten so I created a bugfix, you can track it here: #750

<!-- gh-comment-id:752185028 --> @Komediruzecki commented on GitHub (Dec 29, 2020): Hi myicq, I think this was forgotten so I created a bugfix, you can track it here: #750
Author
Owner

@Komediruzecki commented on GitHub (Jan 6, 2021):

Since #750 is merged, I'll close this issue. The fix will be available in the next release.

<!-- gh-comment-id:755409765 --> @Komediruzecki commented on GitHub (Jan 6, 2021): Since #750 is merged, I'll close this issue. The fix will be available in the next release.
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#390
No description provided.