Файли
openidea/docs
audichuang 4401ed3119 fix(clipboard): allow clipboard_text in Restricted Mode, like the other clipboard reads (#6658)
clipboard_text was the only clipboard command declared trusted, so in Restricted Mode the native read was refused and readClipboardPlainText() fell back to the WebView's own read: WebKit's Paste callout on macOS (and WebView2's prompt on Windows) appeared for the editor's right-click Paste. Reading the clipboard runs nothing from the project, and clipboard_image, clipboard_file_list and clipboard_has_* are already always. clipboard_text is now always too, as is the web shell's stub; a test pins all clipboard reads to always. Plugins still read through plugin_answer_clipboard, which stays trusted.

Co-authored-by: audichuang <[email protected]>
2026-11-28 14:46:43 +08:00
..