如何更改它,以便当我将注意力集中在具有某些文本的div
上时,并按Ctrl/Cmd+a时,在不选择整个文档的情况下选择div
?
还有:是否有JS/jQuery命令来选择div
中的文本?
您应该使用textarea+css来原生地获得此功能!