Title: ONLYOFFICE Docs
Author: onlyoffice
Published: <strong>2022 年 5 月 11 日</strong>
Last modified: 2025 年 7 月 25 日

---

搜索插件

![](https://ps.w.org/onlyoffice/assets/banner-772x250.png?rev=2721916)

![](https://ps.w.org/onlyoffice/assets/icon.svg?rev=2721916)

# ONLYOFFICE Docs

 作者：[onlyoffice](https://profiles.wordpress.org/onlyoffice/)

[下载](https://downloads.wordpress.org/plugin/onlyoffice.2.3.0.zip)

 * [详情](https://cn.wordpress.org/plugins/onlyoffice/#description)
 * [评价](https://cn.wordpress.org/plugins/onlyoffice/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/onlyoffice/#developers)

 [支持](https://wordpress.org/support/plugin/onlyoffice/)

## 描述

ONLYOFFICE Docs plugin allows WordPress administrators to open documents, spreadsheets,
and presentations for collaborative editing using ONLYOFFICE Docs (online document
editors). In published posts, the editors are visible to all WordPress site visitors(
both authorized and unauthorized) in the Embedded mode only.

**Editing files uploaded to WordPress**

All uploaded files from the Media section will appear on the ONLYOFFICE Docs -> 
Files page. The editor opens in the same tab by clicking on the file name. Users
with administrator rights are able to co-edit documents. All the changes are saved
in the same file.

**Creating a post**

When creating a post, you can add the ONLYOFFICE Docs element (block) and then upload
a new file or select one from the Media Library. The added file will be displayed
as the ONLYOFFICE logo with the file name in the currently edited post. After the
post is published (when you press the Publish or Update button), your WordPress 
site visitors will have access to this file for viewing in the Embedded mode.

## 屏幕截图

 * [[
 * ONLYOFFICE Docs plugin configuration settings within the WordPress administrative
   dashboard.
 * [[
 * ONLYOFFICE Docs -> Files page within the WordPress administrative dashboard.
 * [[
 * ONLYOFFICE Docs editor opened from the WordPress admin dashboard.
 * [[
 * Adding ONLYOFFICE Docs block when creating a post.
 * [[
 * Uploading a new file or selecting one from the Media Library to the ONLYOFFICE
   Docs block.
 * [[
 * Added file displayed as the ONLYOFFICE logo with the file name in the currently
   edited post.
 * [[
 * ONLYOFFICE file available for viewing in the Embedded mode to the WordPress site
   visitors.

## 区块

该插件提供了 1 个区块.

 *   ONLYOFFICE Docs

## 常见问题

### What should I know before using the plugin?

You need to have [ONLYOFFICE Document Server](https://github.com/ONLYOFFICE/DocumentServer)
installed. You can install free Community version or scalable Enterprise Edition.

### How to configure the plugin?

Go to WordPress administrative dashboard -> ONLYOFFICE Docs -> Settings. Specify
the URL of the installed ONLYOFFICE Document Server and the Secret key.

Please note: Starting from version 7.2 of ONLYOFFICE Docs, JWT is enabled by default
and the secret key is generated automatically to restrict the access to ONLYOFFICE
Docs and for security reasons and data integrity. Specify your own secret key in
the WordPress administrative configuration. In the ONLYOFFICE Docs [config file](https://api.onlyoffice.com/docs/docs-api/additional-api/signature/),
specify the same secret key and enable the validation.

### What collaborative features do the editors provide?

You can co-author documents using real-time or paragraph-locking co-eding modes,
Track Changes, comments, and built-in chat.

## 评价

此插件暂无评价。

## 贡献者及开发者

「ONLYOFFICE Docs」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ onlyoffice ](https://profiles.wordpress.org/onlyoffice/)

「ONLYOFFICE Docs」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/onlyoffice/contributors)
为本插件所做的贡献。

[帮助将「ONLYOFFICE Docs」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/onlyoffice)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/onlyoffice/)，查看[SVN仓库](https://plugins.svn.wordpress.org/onlyoffice/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/onlyoffice/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/onlyoffice/)。

## 更新日志

#### 2.3.0

 * improved security for /download and /callback api endpoitns

#### 2.2.0

 * fixed xss vulnerabilities in onlyoffice-docs page component

#### 2.0.0

 * multisite support
 * stub for onlyoffice-wordpress-block that displays error information if the document
   server is not accessible or the file is not found
 * settings for onlyoffice block (width, height, align, show open in onlyoffice 
   button)
 * button copy link to editor, in the table with files
 * ability to insert a link to the editor on the page
 * access for an anonymous user, open the document for viewing in the editor if 
   the document is attached to a public post
 * filling pdf
 * editor url
 * displaying the onlyoffice-wordpress-block component in the Gutenberg editor
 * remove filling for oform
 * supported formats updated

#### 1.1.0

 * extended list of supported formats
 * support docxf and oform formats
 * support for the connector to work in conjunction with the plugin “Force Lowercase
   URLs” (https://wordpress.org/plugins/force-lowercase-urls)
 * setting authorization header
 * compatible with classic editor TinyMCE
 * Link to docs cloud

#### 1.0.2

 * fixed issues for the marketplace release

#### 1.0.1

 * fixed issues for the marketplace release

#### 1.0

 * added configuration page of plugin
 * added coediting docx, xlsx, pptx by authors
 * added embedded view xls, xlsx, xlsm, xlt, xltx, xltm, ods, fods, ots, csv, pps,
   ppsx, ppsm, ppt, pptx, pptm, pot, potx, potm, odp, fodp, otp, doc, docx, docm,
   dot, dotx, dotm, odt, fodt, ott, rtf, txt, html, htm, mht, xml, pdf, djvu, fb2,
   epub, xps, oxps on public page
 * JWT support
 * detecting mobile browser
 * set favicon on editor page
 * added goBack url for document editor

## 额外信息

 *  版本 **2.3.0**
 *  最后更新：**8 月前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 5.7 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/onlyoffice/) 和 [Russian](https://ru.wordpress.org/plugins/onlyoffice/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/onlyoffice)
 * 标签
 * [collaboration](https://cn.wordpress.org/plugins/tags/collaboration/)[document](https://cn.wordpress.org/plugins/tags/document/)
   [editor](https://cn.wordpress.org/plugins/tags/editor/)[office](https://cn.wordpress.org/plugins/tags/office/)
   [onlyoffice](https://cn.wordpress.org/plugins/tags/onlyoffice/)
 *  [高级视图](https://cn.wordpress.org/plugins/onlyoffice/advanced/)

## 评级

尚未提交反馈。

[添加我的评价](https://wordpress.org/support/plugin/onlyoffice/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/onlyoffice/reviews/)

## 贡献者

 *   [ onlyoffice ](https://profiles.wordpress.org/onlyoffice/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/onlyoffice/)