Skip to content
Snippets Groups Projects
Commit c5b397bb authored by chris's avatar chris
Browse files

temp solution

parent d7df8259
No related branches found
No related tags found
1 merge request!308Answer nodeview
......@@ -41,6 +41,8 @@ export default ({ node, view, getPos }) => {
const feedBackInput = () => {
setFeedBack(feedBackRef.current.value);
/*HACK*/
node.attrs.feedback = feedBackRef.current.value;
};
const saveFeedBack = () => {
......@@ -83,7 +85,7 @@ export default ({ node, view, getPos }) => {
ref={feedBackRef}
type="text"
value={feedBack}
onBlur={saveFeedBack}
// onBlur={saveFeedBack}
onFocus={onFocus}
/>
</FeedBack>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment