Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/Advanced-Topics-Block-Components.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class EditorWithMedia extends React.Component {
```

If no custom renderer object is returned by the `blockRendererFn` function,
`Editor` will render the default `DraftEditorBlock` text block component.
`Editor` will render the default `EditorBlock` text block component.

The `component` property defines the component to be used, while the optional
`props` object includes props that will be passed through to the rendered
Expand All @@ -70,7 +70,7 @@ It is strongly recommended that you use `editable: false` if your custom
component will not contain text.

If your component contains text as provided by your `ContentState`, your custom
component should compose a `DraftEditorBlock` component. This will allow the
component should compose an `EditorBlock` component. This will allow the
Draft framework to properly maintain cursor behavior within your contents.

By defining this function within the context of a higher-level component,
Expand Down