lbovet / wb0

Online collaborative whiteboard that is simple, free, easy to use and to deploy
GNU Affero General Public License v3.0
1 stars 0 forks source link

Unable to delete last character or the whole words in text element #4

Closed andrea78 closed 3 years ago

andrea78 commented 3 years ago

@lbovet, I am not able to delete the last character of the words written using Text tool. How to reproduce it?

  1. Please, write multiple texts or a word at any place on a whiteboard.
  2. With text tool on, click on each word and delete all letters.
  3. Refresh a page.
  4. Now you should see one letter left or the whole word in all words you've written before. If we try to delete them now, a letter gets deleted from an input element but a letter is still on the board. There is probably no curText.sentText = elem.textContent; in function editOldText(elem) in text.js file. You can take a look below: Screenshot 2021-09-22 at 02-37-18 Whiteboard