isn't it possible to un-contenteditable the current element, and to add a ne placeholder, instead of render everything ?