Update Markdown.Editor.js

This commit is contained in:
danpros 2024-02-22 14:19:28 +07:00
commit dd08707dfb

View file

@ -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 = "<!--more-->";
chunk.selection = "";
chunk.skipLines(0, 1, true);
chunk.skipLines(1, 1, true);
}
commandProto.doTOC = function (chunk, postProcessing) {
chunk.startTag = "<!--toc-->";
chunk.selection = "";
chunk.skipLines(0, 1, true);
chunk.skipLines(1, 1, true);
}
commandProto.doStrikethrough = function (chunk, postProcessing) {