Skip to content

Commit

Permalink
chore(config): deprecate maxBlocks
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhg committed Dec 16, 2024
1 parent 0e6efbc commit e377d16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/editor/src/editor/create-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ import {createEditableAPI} from './plugins/createWithEditableAPI'
export type EditorConfig = {
behaviors?: Array<Behavior>
keyGenerator?: () => string
/**
* @deprecated Will be removed in the next major version
*/
maxBlocks?: number
readOnly?: boolean
initialValue?: Array<PortableTextBlock>
Expand Down

0 comments on commit e377d16

Please sign in to comment.