ChatGPT fix for missing caret

Fixes ChatGPT bug where caret disappears after pasting CRLF-based newlines (Windows standard); converts CRLF to LF and pastes properly in ChatGPT ProseMirror editor

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
JohnK
1日のインストール数
0
累計インストール数
1
評価
1 0 0
バージョン
1.0
作成日
2025/12/15
更新日
2025/12/15
大きさ
1.19KB
ライセンス
MIT
対象サイト

This fixes the ChatGPT bug where, after pasting text containing CRLF-based newlines into the input field, the caret (text cursor) is invisible. The problem does not occur when pasting text from MacOS/Linux, which use LF-based newlines. It is apparently a bug with the ProseMirror editor used by ChatGPT.

The script simply replaces each CRLF with a LF for the paste operation.