Skip to content

Feat/support rename#41

Merged
electroluxcode merged 3 commits into
mainfrom
feat/support-rename
Jul 14, 2026
Merged

Feat/support rename#41
electroluxcode merged 3 commits into
mainfrom
feat/support-rename

Conversation

@electroluxcode

@electroluxcode electroluxcode commented Jul 14, 2026

Copy link
Copy Markdown
Owner

EN

  • Add WOPI-based document rename handling for local OnlyOffice resources.
  • Add cross-origin bridge support for invoking rename APIs in CDN mode.
  • Keep the editor filename and export snapshot synchronized after a rename.
  • Update the demo CDN origin.
  • Temporarily disable the DocsAPI onRequestRename entry point

Notes

The underlying rename capabilities of both local and CDN have been integrated; considering that the component form actually requires the application layer to perform this operation, the rename entry in the OnlyOffice file menu is currently not open. If there is a genuine need, you can uncomment the onRequestRename method to enable it.

CN

  • 支持本地 OnlyOffice 资源通过 WOPI RPC 重命名文档。
  • 支持 CDN 模式通过跨域 bridge 调用 iframe 内部重命名 API。
  • 重命名后同步编辑器文件名与导出文件名。
  • 更新 Demo 默认 CDN 地址。
  • 暂时隐藏 onRequestRename 回调入口

说明

本地和 CDN 的底层重命名能力均已接入;考虑到产品形态其实是需要应用层来做这个操作,而不应该在组件层去做。因此当前暂不开放 OnlyOffice 文件菜单的重命名入口,如果实在有需要的可以把 onRequestRename 方法注释去掉进行开启。

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
onlyoffice-web-comp Ready Ready Preview, Comment Jul 14, 2026 3:29pm

@electroluxcode
electroluxcode merged commit 5eb6b8b into main Jul 14, 2026
3 checks passed
@electroluxcode
electroluxcode deleted the feat/support-rename branch July 15, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant