問題タブ [paragraphs]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
1245 参照

javascript - Googleドキュメントのすべての要素を反復処理するにはどうすればよいですか?

ドキュメント内のすべての要素を反復処理して、各段落の開始/終了位置を取得しようとしています。しかし、return -1 のままです。私が間違っていることはありますか?