Skip to content
Discussion options

You must be logged in to vote

Aha!! I found it I think!

readOnly = true here. Here is a code snippet from my config.ts!


export const CONFIG: {
  components: Record<string, any>
  editableProps: TEditableProps<MyValue>

  align: Partial<MyPlatePlugin>
  autoformat: Partial<MyPlatePlugin<AutoformatPlugin<MyValue, MyEditor>>>
  exitBreak: Partial<MyPlatePlugin<ExitBreakPlugin>>
  forceLayout: Partial<MyPlatePlugin<NormalizeTypesPlugin>>
  indent: Partial<MyPlatePlugin<IndentPlugin>>
  lineHeight: Partial<MyPlatePlugin>
  mentionItems: any
  resetBlockType: Partial<MyPlatePlugin<ResetNodePlugin>>
  selectOnBackspace: Partial<MyPlatePlugin<SelectOnBackspacePlugin>>
  softBreak: Partial<MyPlatePlugin<SoftBreakPlugin>>
  tr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ctevans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant