Boostnote: Paste from terminal inserted with CSS style text

Created on 20 Nov 2018  路  7Comments  路  Source: BoostIO/Boostnote

Current behavior

When making copy & paste from mac terminal text is inserted with CSS style text.

Expected behavior

Past just copied text.

Steps to reproduce

  1. Open mac terminal
  2. Copy text
  3. Paste in snippet note
  4. Text is inserted with style information. Example (I just copied creation_date text from terminal):
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #f2f2f2; background-color: #000000; background-color: rgba(0, 0, 0, 0.85)} span.s1 {font-variant-ligatures: no-common-ligatures} 

creation_date

Environment

  • Version : 0.11.11
  • OS Version and name : macOS Mojave 10.14.1 (18B75)
bug

Most helpful comment

I work around this by using the following command in the terminal.
defaults write com.apple.Terminal CopyAttributesProfile com.apple.Terminal.no-attributes
I am using this until a patch is available.

All 7 comments

Happens for me too, but on macOS Sierra 10.13.6 (17G3025)

Same here: macOS Mojave 10.14 (18A391). very annoying

Driving me insane. Mac OS Mojave 10.14.1 (18B75). Boostnote 0.11.11.

I work around this by using the following command in the terminal.
defaults write com.apple.Terminal CopyAttributesProfile com.apple.Terminal.no-attributes
I am using this until a patch is available.

@issuehuntfest has funded $40.00 to this issue. See it on IssueHunt

This is a duplicate of #2628. The fix has already been merged so it will be fixed in the next release.

@issuehuntfest has cancelled funding for this issue.(Cancelled amount: $40.00) See it on IssueHunt

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Rokt33r picture Rokt33r  路  3Comments

louiealmeda picture louiealmeda  路  3Comments

luong-komorebi picture luong-komorebi  路  3Comments

NonlinearFruit picture NonlinearFruit  路  3Comments

Petroochio picture Petroochio  路  3Comments