When I'm playing a level, sometimes the following warning appears: - Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead. The only occurrence of this function I found is at https://github.com/codecombat/codecombat/blob/master/app/views/play/level/tome/SpellView.coffee#L627.
Activity
KatFrog commentedon Aug 18, 2018
Is this bug still available? I would like to fix it if it is.
Imperadeiro98 commentedon Aug 19, 2018
I think so. To reproduce it, just access a level (for example https://codecombat.com/play/level/dungeons-of-kithgard), put the cursor in the last line and press backspace. The error mentioned above appears in the console.
KatFrog commentedon Aug 21, 2018
Okay. I'll work on this.