ONLYOFFICE / DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
https://www.onlyoffice.com
GNU Affero General Public License v3.0
4.86k stars 1.09k forks source link

sdkjs compilation problem #2801

Open yiwen9488 opened 3 months ago

yiwen9488 commented 3 months ago

This issue is unique.

Operating System of DocumentServer

Docker

Version information

8.1.1

Expected Behavior

git clone https://github.com/ONLYOFFICE/sdkjs.git

  1. Required software installation:

  2. SDK build:

    • npm install -g grunt-cli
    • npm ci
    • grunt After compilation docker : copy /build/sdkjs/deploy/sdkjs/ /var/www/onlyoffice/documentserver/sdkjs

The form function works properly

Actual Behavior

The pdf forms feature is missing

What parameters need to be added when compiling, or environment variables, I tried to add --sdkjs-addons="sdkjs-forms" seems to be useless, please guide me

Reproduction Steps

git clone https://github.com/ONLYOFFICE/sdkjs.git

  1. Required software installation:

  2. SDK build:

    • npm install -g grunt-cli
    • npm ci
    • grunt After compilation docker : copy /build/sdkjs/deploy/sdkjs/ /var/www/onlyoffice/documentserver/sdkjs

Additional information

Snipaste_2024-06-27_09-14-54

yiwen9488 commented 3 months ago

The picture above is in the wrong place Snipaste_2024-07-16_17-40-11