Context-sensitive nested browser differences

From what I read, there are many browser differences in how the content elements are handled. (i.e. link ). When the element 'contenteditable = true' contains the element 'contenteditable = false', the element 'contenteditable = false' can be removed using backspace. Firefox will not allow you to do this, but the link is considered a mistake. Is there a way to cross-browser so that items in a content-friendly container are ever deleted or modified?

+4
source share
1 answer

Maybe Medium.js will be useful, but it depends on what purpose you use contenteditable. At least they say: "Medium.js is html5 compatible and tested on Firefox, Chrome, Safari, Opera and IE8 +. Browser support is constantly improving!" They have demos with "widgets" (what they call inserts with contenteditable="false" ) on the main page.

0
source

Source: https://habr.com/ru/post/1403979/


All Articles