using contenteditable h1 tag, I have been able to make a "notecard" which you can edit and the content of which is bound to a signal. onFocusOut causes the following function to run
(e) =>{setText(e.currentTarget.innerText || "")}
(e) =>{setText(e.currentTarget.innerText || "")}
. I have tried many ways to make sure that the inner text is not null, yet i am still getting this error. Any tips would be much appreciated