contenteditable

contenteditablecontenteditable
  1. Simply add the code textDiv . contentEditable = " true "; to the bottom of the function .

    只需将代码textDiv.contentEditable=“true”;添加到函数的末尾。