Revert part of 9ad383797c28
Revert part of 9ad383797c28

It breaks document tree rebalancing.

Closes #4032

notepadqq/CodeMirror,codio/CodeMirror,schanzer/CodeMirror,crazy4chrissi/CodeMirror,dperetti/CodeMirror,ejgallego/CodeMirror,adobe/CodeMirror2,alur/CodeMirror,vincentwoo/CodeMirror,notepadqq/CodeMirror,wingify/CodeMirror,jkaplon/CodeMirror,xeronith/CodeMirror,xeronith/CodeMirror,SidPresse/CodeMirror,TDaglis/CodeMirror,ficristo/CodeMirror,namin/CodeMirror,kerabromsmu/CodeMirror,Dominator008/CodeMirror,MarcelGerber/CodeMirror,codio/CodeMirror,ejgallego/CodeMirror,grzegorzmazur/CodeMirror,SidPresse/CodeMirror,INTELOGIE/CodeMirror,MarcelGerber/CodeMirror,nightwing/CodeMirror,vincentwoo/CodeMirror,mtaran-google/CodeMirror,ficristo/CodeMirror,grzegorzmazur/CodeMirror,notepadqq/CodeMirror,alur/CodeMirror,namin/CodeMirror,rrandom/CodeMirror,MarcelGerber/CodeMirror,codio/CodeMirror,rrandom/CodeMirror,grzegorzmazur/CodeMirror,bfrohs/CodeMirror,crazy4chrissi/CodeMirror,ejgallego/CodeMirror,SidPresse/CodeMirror,Jisuanke/CodeMirror,dperetti/CodeMirror,TDaglis/CodeMirror,xeronith/CodeMirror,mizchi/CodeMirror,alur/CodeMirror,ficristo/CodeMirror,pabloferz/CodeMirror,Jisuanke/CodeMirror,sourcelair/CodeMirror,mizchi/CodeMirror,schanzer/CodeMirror,pabloferz/CodeMirror,jkaplon/CodeMirror,jayaprabhakar/CodeMirror,sourcelair/CodeMirror,sourcelair/CodeMirror,vincentwoo/CodeMirror,INTELOGIE/CodeMirror,thomasjm/CodeMirror,nightwing/CodeMirror,INTELOGIE/CodeMirror,crazy4chrissi/CodeMirror,mizchi/CodeMirror,kerabromsmu/CodeMirror,namin/CodeMirror,wingify/CodeMirror,kerabromsmu/CodeMirror,hackmdio/CodeMirror,hackmdio/CodeMirror,dperetti/CodeMirror,bfrohs/CodeMirror,Jisuanke/CodeMirror,nightwing/CodeMirror,jkaplon/CodeMirror,rrandom/CodeMirror,Dominator008/CodeMirror,thomasjm/CodeMirror,schanzer/CodeMirror,bfrohs/CodeMirror,mtaran-google/CodeMirror,adobe/CodeMirror2,thomasjm/CodeMirror,TDaglis/CodeMirror,Dominator008/CodeMirror,wingify/CodeMirror,adobe/CodeMirror2,pabloferz/CodeMirror,hackmdio/CodeMirror,jayaprabhakar/CodeMirror,mtaran-google/CodeMirror,jayaprabhakar/CodeMirror