EditorToolbar was deprecated in v4. It will be deleted from the repository on 12th July 2022.
Editor Toolbar component got removed in version 4.
This is how you were using EditorToolbar in version 3:
You can have a look on this codesandbox to see how it might be done in version 4: