How to merge the contents of the input box with the dom element in draft-js

what you want to achieve is to enter text in draft-js, click an icon, add @ string immediately after it, pop up the list of candidates, @ and the name of the person are two span tags, the input content of draft-js has been converted by stateToHTML (contentState), and there is a variable in state. How to get this variable and span tag now, getting id will report an error with innerHTML, ask for a great answer, and thank you

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea0cbe-69277.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea0cbe-69277.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?