Chrome拡張機能で選択したテキストをキャプチャしてGoogle Docに挿入しようとしていますが、パッケージ化された拡張機能でスクリプトを実行しようとすると、次のエラーが発生します。Chrome拡張機能からGoogle Appsスクリプトを実行する権限を取得するにはどうすればよいですか。
The given range does not belong to the current selection's document.
Blocked script execution in 'https://docs.google.com/document/d/1E23-KSMXgymTVpYVtimQHw26yrqAVYlNHUb59zcPleU/edit' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
これらの問題を解決する方法についての情報は素晴らしいと思います。