From: Ajay Bura <32841439+ajbura@users.noreply.github.com>
Date: Fri, 27 Oct 2023 10:27:22 +0000 (+1100)
Subject: Improve Editor related bugs and add multiline md (#1507)
X-Git-Tag: v3.1.0~1
X-Git-Url: https://git.wafflesoft.org/?a=commitdiff_plain;h=b24f858369578a496a20fe47c89762f2711403cd;p=rainny.git
Improve Editor related bugs and add multiline md (#1507)
* remove shift from editor hotkeys
* fix inline markdown not working
* add block md parser - WIP
* emojify and linkify text without react-parser
* no need to sanitize text when emojify
* parse block markdown in editor output - WIP
* add inline parser option in block md parser
* improve codeblock regex
* ignore html tag when parsing inline md in block md
* add list markdown rule in block parser
* re-generate block markdown on edit
* change copy from inline markdown to markdown
* fix trim reply from body regex
* fix jumbo emoji in reply message
* fix broken list regex in block markdown
* enable markdown by defualt
---
diff --git a/src/app/components/editor/Toolbar.tsx b/src/app/components/editor/Toolbar.tsx
index 6feae00..5d5e989 100644
--- a/src/app/components/editor/Toolbar.tsx
+++ b/src/app/components/editor/Toolbar.tsx
@@ -148,7 +148,7 @@ export function HeadingBlockButton() {