When i select some text and press the “make bold” button, the selected text goes to bold, but when i try to type, i get an error.: “Cannot read property ‘create’ of undefined”.
I’m not sure if this is the problem that leads to the error, but you’re mixing two schemas (the one imported from prosemirror-schema-basic and the one you created yourself). That doesn’t work. You’ll want to add the marks you need to your own schema, and use those in your makeBold function.