From dd08707dfbd789e9a514b0ed7ef16c67fdc72466 Mon Sep 17 00:00:00 2001 From: danpros Date: Thu, 22 Feb 2024 14:19:28 +0700 Subject: [PATCH] Update Markdown.Editor.js --- system/admin/editor/js/Markdown.Editor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/admin/editor/js/Markdown.Editor.js b/system/admin/editor/js/Markdown.Editor.js index 1b3dda6..ed9793c 100644 --- a/system/admin/editor/js/Markdown.Editor.js +++ b/system/admin/editor/js/Markdown.Editor.js @@ -2250,19 +2250,19 @@ commandProto.doHorizontalRule = function (chunk, postProcessing) { chunk.startTag = "----------\n"; chunk.selection = ""; - chunk.skipLines(2, 1, true); + chunk.skipLines(1, 1, true); } commandProto.doReadMore = function (chunk, postProcessing) { chunk.startTag = ""; chunk.selection = ""; - chunk.skipLines(0, 1, true); + chunk.skipLines(1, 1, true); } commandProto.doTOC = function (chunk, postProcessing) { chunk.startTag = ""; chunk.selection = ""; - chunk.skipLines(0, 1, true); + chunk.skipLines(1, 1, true); } commandProto.doStrikethrough = function (chunk, postProcessing) {