From 3b1758135d52a87949a5001666ba4a935a066d66 Mon Sep 17 00:00:00 2001 From: Liyuan Li Date: Sat, 13 Jun 2020 11:01:41 +0800 Subject: [PATCH] :bug: fix #485 --- CHANGELOG.md | 1 + src/assets/scss/_ir.scss | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d23cefa0..3734c6bce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,6 +68,7 @@ ### v3.3.0 / 2020-06-xx +* [485](/~https://github.com/Vanessa219/vditor/issues/485) IR 模式下,
的编辑问题 `修复缺陷` * [484](/~https://github.com/Vanessa219/vditor/issues/484) 添加 TED 视频支持 `改进功能` * [480](/~https://github.com/Vanessa219/vditor/issues/480) Mindmap 和 Echarts 内容为空时会报错 `修复缺陷` diff --git a/src/assets/scss/_ir.scss b/src/assets/scss/_ir.scss index a64290f7e..56b3efa26 100644 --- a/src/assets/scss/_ir.scss +++ b/src/assets/scss/_ir.scss @@ -5,10 +5,6 @@ position: relative; width: 100%; - &__block[data-type="html-block"] pre { - margin: 1em 0 !important; - } - &__node { &[data-type="code-block"]:before, &[data-type="code-block"]:after, @@ -27,6 +23,10 @@ color: $blurColor; } + &[data-type="html-block"] { + margin-bottom: 1em; + } + .vditor-ir__marker { width: 0; overflow: hidden;