I have a div inside my editable container and when I press enter the div duplicate and I end up have two divs one on the top of the other. the container have contenteditable as true, this might be causing this issue. but is there anyway i can prevent this
<div class="singlediv"></div>
with the css
.singlediv {
border-color: rgb(155, 196, 243);
border: dotted 1px;
width: 100%;
padding: 10px;
min-height: 75px;
}