作者:手机用户2602883245 | 来源:互联网 | 2023-09-11 12:05
IammodifyingbootstrapbasedHTMLeditor.Ihavedoneimageuploadingpart.Inimageuploading,Ia
I am modifying bootstrap based HTML editor. I have done image uploading part.In image uploading, I am creating an image inside a div.
我正在修改基于bootstrap的HTML编辑器。我已经完成了图像上传部分。在图像上传中,我在div中创建了一个图像。
I want image to be resizeable hence,
我希望图像可以调整大小,因此,
element.style {
border: 1px solid;
padding: 10px;
width: 300px;
resize: both;
overflow: auto;
}
But the issue is when I am hitting a down key cursor is going inside a div containing an image (instead of below a div).
但问题是当我按下一个向下键的光标进入包含图像的div(而不是在div下面)时。
so what changes should I do in order to bring cursor below a div on pressing key down?
那么我应该做什么改变才能在按下键的同时将光标移到div下面?
2 个解决方案