Why does CodeMirror not work on iPad?

Hi,

http://marijn.haverbeke.nl/codemirror/jstest.html works on Safari on PC, but not on iPad. What a shame, since I wanted to use it for an application. My question is not only why it doesn’t work, but how should I analyze things that break on iPad Safari?

T.

+3
source share
3 answers

The editor in CodeMirror is actually an iframe, not a source entry. The problem I suspect is that the browser on the iPad does not know if the keyboard needs to be activated because some DOM element has key events associated with it.

Safari , , , .

+2

CodeMirror2 iPad;

, . , , hilite // ( 2012-06-27).

+6

he may have used an iframe in the past, but now I have a codemirror on my website and I don't see any iframes inside it.

it's almost a year later, so maybe now the situation has changed.

+1
source

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


All Articles