This project is not covered by Drupal’s security advisory policy.
The Onlyoffice Preview Field Module for Drupal 8 & 9 creates a simple field type that allow you to display document Media in iframe throw an Onlyoffice server.
Sponsored by Start People
Installation
Download sources with composer:
composer require drupal/onlyoffice-preview-field
Install the module with drush:
bin/drush en onlyoffice_preview -y
Configure the module: visit /admin/config/content/onlyoffice-preview
Congrats, Onlyoffice preview field type can now be used with any entity type !
Supported document types
Text : doc, docx, odt, pdf, docm, dot, dotm, dotx, epub, fodt, htm, html, mht, ott, rtf, txt, djvu, xp,
Spreadsheet : xls, xlsx, ods, csv, fods, ots, xlsm, xlt, xltm, xltx
Presentation : ppt, pptx, odp, fodp, otp, pot, potm, potx, pps, ppsm, ppsx, pptm
Display mode
The unique display mode for this field let you choose some parameters :
- Iframe dimensions (width and height)
- Onlyoffice display/permission options:
- Allow comments, download, edit, print, review, plugins
- Hide/show right menu, chat, help
Support
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Site structure, Media
- Created by simon.mellerin on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.

