Let’s install the chameleon core and the react integration package:
As well as plugins for undo redo operations and persistent state:
Creating an Editor instance
Let’s create an editor instance in the demo.tsx file, and wrap our application in EditorProvider
As you can see, during creation we can expand the capabilities of our editor using plugins, as we did with persist and history
Let’s create a toolbar for undo redo operations and change the editor mode
Next we will need to develop our own plugins that will include the building blocks for the editor; we will consider the decomposition of these blocks in the next article