I would like to install the draft-js-prism plugin into my Wagtail 5.0 site. Unfortunately, my knowledge of how Draft.js and React work could be inscribed on the head of a pin, so I cannot wrap my head around how to install a custom DraftJS plugin into Wagtail's Draftail system.
Wagtail's docs speak to "extending the Draftail editor", and I think the "block" type is likely what I want, since draft-js-prism seems to create a custom Code Block block. But how do I go from "not having any draftjs plugins in my project" to the point where I can follow Wagtail's docs on how to install the plugin into my Draftail editors? I have no idea how to even get the prism code into my codebase to tell Wagtail to use it, since my project doesn't currently use npm, and I have little experience with that entire ecosystem.
Any help for this JS newb would be greatly appreciated.