From e612a344629b999e90089710646e7a0bc68597d2 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sun, 14 Feb 2021 19:32:36 +0100 Subject: Update prosemirror --- editor/editor.css | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'editor/editor.css') diff --git a/editor/editor.css b/editor/editor.css index 8f29bde..fb58773 100644 --- a/editor/editor.css +++ b/editor/editor.css @@ -324,3 +324,39 @@ li.ProseMirror-selectednode:after { } .ProseMirror p { margin-bottom: 1em } + +.editor em::before, .editor em::after { + content: "//" +} + +.editor blockquote p::before { + content: "> " +} + +.editor strong::before, .editor strong::after { + content: "**" +} + +.editor h1::before { + content: "# " +} + +.editor h2::before { + content: "## " +} + +.editor h3::before { + content: "### " +} + +.editor h4::before { + content: "#### " +} + +.editor h5::before { + content: "##### " +} + +.editor h6::before { + content: "###### " +} -- cgit v1.2.3