0
<div contenteditable="true" style="display:flex">
<p>Some text</p>
</div>

This adds ugly resize border on the P tag. I want to keep this field editable. I don't want to disable it using mscontrolselect event Any solution?

  • Related (doesn't appear to solve the issue, but it's been asked before) https://stackoverflow.com/questions/1926525/removing-resize-handlers-on-contenteditable-div Edit: *many* times before: https://stackoverflow.com/search?q=contenteditable+resize+handles – freedomn-m Aug 28 '20 at 09:39
  • Why do you add `display:flex`? If you remove this style, the field is still editable. Or you can remove `

    ` tag around the text, then the resize border will disappear. Besides these two ways, it seems there's no other ways to get rid of the resize border.

    – Yu Zhou Aug 31 '20 at 03:32

0 Answers0