0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

polacodeに貼り付けすると内容が消える

Last updated at Posted at 2024-07-08

現象

VS Codeプラグイン「Polacode」にプレーンテキストを貼り付けるとプレビューが空になります。
コンソールの内容をコピペしても同様にプレビューが空になります。

再現する環境 1

  • OS: ZorinOS 17.1 Core
  • CPU: AMD® Ryzen 9 4900h with radeon graphics × 16
  • エディタ: Cursor 0.035.0
  • Polacode: 識別子pnp.polacode v0.3.4

再現する環境 2

  • OS: Windows 11 Home 23h2
  • CPU: 12th Gen Intel(R) Core(TM) i7-12650H 2.30 GHz
  • エディタ: VS Code 1.91.0
  • Polacode: 識別子jeff-hykin.polacode-2019 v0.6.1

対策(回避方法)

新しいテキストファイルを開き、一度プレビューしたいテキストを貼り付けます。
その後、新しく開いたテキストファイルタブの言語モードを「プレーンテキスト」以外にしてからコピーします。
polacodeに貼り付けるとプレビューに反映され、ファイルに保存してもテキスト部分が空になりません。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?