Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ONLYOFFICE/document-editor-react
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.5.0
Choose a base ref
...
head repository: ONLYOFFICE/document-editor-react
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 17 commits
  • 11 files changed
  • 3 contributors

Commits on Apr 1, 2024

  1. Copy the full SHA
    e5a2580 View commit details

Commits on Apr 3, 2024

  1. fix to changelog

    LinneyS committed Apr 3, 2024
    Copy the full SHA
    2cb8008 View commit details
  2. Merge pull request #38 from ONLYOFFICE/bugfix/config

    bugfix/config
    LinneyS authored Apr 3, 2024
    Copy the full SHA
    b284052 View commit details
  3. 1.5.1

    LinneyS committed Apr 3, 2024
    Copy the full SHA
    4ae0ef3 View commit details
  4. Merge pull request #39 from ONLYOFFICE/develop

    Release/v1.5.1
    LinneyS authored Apr 3, 2024
    Copy the full SHA
    89dd0c8 View commit details

Commits on Apr 5, 2024

  1. Copy the full SHA
    bed076c View commit details
  2. Copy the full SHA
    a9d4367 View commit details

Commits on May 13, 2024

  1. using static.onlyoffice.com

    LinneyS committed May 13, 2024
    Copy the full SHA
    30b7b97 View commit details

Commits on Nov 29, 2024

  1. None match README.md <pre> tag

    update none matching closing tag
    kingakidi authored Nov 29, 2024
    Copy the full SHA
    9651931 View commit details

Commits on Dec 2, 2024

  1. 1.5.1

    LinneyS committed Dec 2, 2024
    Copy the full SHA
    11b6de8 View commit details
  2. Copy the full SHA
    c732126 View commit details

Commits on Feb 2, 2025

  1. Copy the full SHA
    42b1a16 View commit details
  2. Copy the full SHA
    c3a301f View commit details

Commits on Feb 3, 2025

  1. Copy the full SHA
    9c7e798 View commit details
  2. build: bump deps

    aleksandrfedorov97 committed Feb 3, 2025
    Copy the full SHA
    3584f4b View commit details

Commits on Feb 5, 2025

  1. 1.6.0

    LinneyS committed Feb 5, 2025
    Copy the full SHA
    737d4e6 View commit details

Commits on Mar 14, 2025

  1. Copy the full SHA
    8f6067b View commit details
Showing with 6,211 additions and 6,209 deletions.
  1. +6 −0 CHANGELOG.md
  2. +2 −1 README.md
  3. +6,118 −6,166 package-lock.json
  4. +23 −23 package.json
  5. +1 −1 src/DocumentEditor.stories.tsx
  6. +1 −1 src/DocumentEditor.test.tsx
  7. +55 −12 src/DocumentEditor.tsx
  8. +1 −1 src/config/default.json
  9. +1 −1 src/index.ts
  10. +2 −2 src/model/config.ts
  11. +1 −1 src/utils/loadScript.ts
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 1.6.0
- added shardkey property

## 1.5.1
- IConfig->document is not required

## 1.5.0
- added props events_onRequestUsers
- fix re-rendering of component after init editors
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ var onLoadComponentError = function (errorCode, errorDescription) {
export default function App() {
return (
<pre>
<>
<DocumentEditor
id="docxEditor"
documentServerUrl="http://documentserver/"
@@ -132,6 +132,7 @@ The application will be deployed on the web server (*http://localhost:3000* by d
| ------------- | ------------- | ------------- | ------------- | ------------- |
| `id` | string | null | yes | Component unique identifier. |
| `documentServerUrl` | string | null | yes | Address of ONLYOFFICE Document Server. |
| `shardkey` | string \| boolean | true | no | The string or boolean parameter required to request load balancing during collaborative editing: all users editing the same document are served by the same server. [Shard key](https://api.onlyoffice.com/docs/docs-api/get-started/how-it-works/#shard-key)|
| `config` | object | null | yes | Generic configuration object for opening a file with token. [Config API](https://api.onlyoffice.com/editors/config/) |
| `onLoadComponentError` | (errorCode: number, errorDescription: string) => void | null | no | The function called when an error occurs while loading a component |
| `document_fileType` | string | null | no | The type of the file. |
Loading