javascript – Wiki or WYSIWYG for help page?

i need to develop a feature for the user. in my web application coded in react, for each page the user must be able to access an editable help page. do you know how i could do that? Do I have to port this functionality to dokuwiki (link to dokiwiki) or develop a WYSIWYG system so that it can create its pages in the application? thank you for any answers you could give me.