Skip to content

Commit

Permalink
Merge branch 'main' into bck-1426-order-notes
Browse files Browse the repository at this point in the history
  • Loading branch information
poulch committed Jan 27, 2025
2 parents 667f466 + d1c02d1 commit fb44e99
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-poems-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Editor.js no more cause error during saving
2 changes: 2 additions & 0 deletions src/components/RichTextEditor/ReactEditorJS.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class ClientEditorCore implements EditorCore {
}

public async save() {
await this._editorJS.isReady;

return this._editorJS.save();
}

Expand Down

0 comments on commit fb44e99

Please sign in to comment.