1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Disabled editor when no note is loaded

This commit is contained in:
Laurent Cozic
2017-11-10 17:58:17 +00:00
parent 5ddd1fc1b2
commit e2cfd8a5af
3 changed files with 47 additions and 13 deletions

View File

@ -148,7 +148,7 @@ class MdToHtml {
let attrs = t.attrs ? t.attrs : [];
const isCodeBlock = tag === 'code' && t.block;
if (t.map) attrs.push(['data-map', t.map.join(':')]);
// if (t.map) attrs.push(['data-map', t.map.join(':')]);
if (tag && t.type.indexOf('_open') >= 0) {
openTag = tag;