Can't delete image in contenteditable div on Android
问题 I am building a rich text editor in android. To do so, I am using a webView with a contentEditable div. To add styles, I invoke JavaScript . This all works fine, except when I invoke JavaScript to insert either an image or a horizontal rule. When I use JavaScript to insert these things, if I then try to press the back button to delete either the image or the horizontal rule, it doesn't work. Oddly enough, if I first enter any other character, and then insert the image or horizontal rule, I