我已经创建了一个带有输入的表单,但是该框只处理单行中的文本。我想设置它的样式,以便输入字段类似于Twitter的输入字段,其中框本身是多行:当你按回车键时,它也会展开:这是我目前所拥有的:
<form name="userForm"><input type="text" id="userInput" name="userInput" placeholder="Enter text here
我现在正在测试一些文本编辑器功能,我需要用换行符将文本输入到我的文本字段中,但我不知道如何模拟这种行为。我要找的东西大概是:或者如何将输入文本拆分为多行?如果我想这样做的话:
Input Text ${locator} Such a long text to input that cannot even fit on my com