diff --git a/package.json b/package.json index 0c03e4dc..39f3cbfe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bigbinary/neeto-editor", - "version": "1.42.0-beta3", + "version": "1.42.0-beta4", "types": "./types.d.ts", "description": "neetoEditor is the library that drives the rich text experience in all neeto products built at BigBinary", "keywords": [ diff --git a/src/components/Editor/CustomExtensions/hooks/useCustomExtensions.js b/src/components/Editor/CustomExtensions/hooks/useCustomExtensions.js index 486429c4..18fd89d5 100644 --- a/src/components/Editor/CustomExtensions/hooks/useCustomExtensions.js +++ b/src/components/Editor/CustomExtensions/hooks/useCustomExtensions.js @@ -81,6 +81,7 @@ const useCustomExtensions = ({ blockquote: options.includes(EDITOR_OPTIONS.BLOCKQUOTE), orderedList: options.includes(EDITOR_OPTIONS.LIST_ORDERED), bulletList: options.includes(EDITOR_OPTIONS.LIST_BULLETS), + history: !collaborationProvider, }), TextStyle, Underline, @@ -132,7 +133,9 @@ const useCustomExtensions = ({ if (collaborationProvider) { customExtensions.push( - Collaboration.configure({ document: collaborationProvider.document }) + Collaboration.configure({ + document: collaborationProvider.document, + }) ); customExtensions.push(