问题
I'm looking to mash up Chrome Extension's ability to inject scripts with Draft.js's ability to add content to the editor.
Would it be possible to inject a script like this into a React/Draft.js page, pass it a string (from the Chrome Extension), and have the script update the page?
Many thanks for any thoughts/guidance...
来源:https://stackoverflow.com/questions/51845654/could-you-inject-a-script-into-a-react-page-with-draft-js-editor-to-append-htm