跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[问与答] 想问下 google docs 的利用代码交互的问题

发表于

公司打算搞个类似于 「 Grammarly 」、「豆包」 这样的 ai 协助产品,因为是海外版,涉及到 google docs 的环境,但是 gdoc 的渲染方式从 2022 年后改成了 canvas ,很多交互没法做,stackoverflow 上也搜索过,比如这个: https://stackoverflow.com/questions/62636031/how-to-programmatically-update-google-docs-in-real-time-via-chrome-extension-or, 最后在一个 github 仓库的讨论贴https://github.com/Amaimersion/google-docs-utils/issues/10 找到了一些端倪,目前根据这个帖子的讨论,只实现了往 gdoc 插入的方法,但是像「获取选区位置」,「获取选中文字」这种还无处下手.不知道 v2 有没有人做过类似的业务,取取经!

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.