Files
CherryHQ-cherry-studio/patches/@tiptap__markdown@3.26.1.patch
SuYao 22ffb62f62 feat(richeditor): native @tiptap/markdown AST on Tiptap 3.26.1 (#16118)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: fullex <106392080+0xfullex@users.noreply.github.com>
Signed-off-by: suyao <sy20010504@gmail.com>
2026-06-17 18:38:54 +08:00

29 lines
982 B
Diff

diff --git a/dist/index.cjs b/dist/index.cjs
index 5812dcd0b49a7e78b4381a91e4631c5c69eaa48b..a2378f06073d606eda0001ffe4e3853a81ff67f3 100644
--- a/dist/index.cjs
+++ b/dist/index.cjs
@@ -231,7 +231,8 @@ var MarkdownManager = class {
createTokenizerHelpers(lexer) {
return {
inlineTokens: (src) => lexer.inlineTokens(src),
- blockTokens: (src) => lexer.blockTokens(src)
+ blockTokens: (src) => lexer.blockTokens(src),
+ lexer
};
}
tokenizeInline(src) {
diff --git a/dist/index.js b/dist/index.js
index f29ad96882b43e17dcf4bb78998e6a88a4c5b192..b7f071ea827055f93cf9a16bc3965c1c68887b34 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -231,7 +231,8 @@ var MarkdownManager = class {
createTokenizerHelpers(lexer) {
return {
inlineTokens: (src) => lexer.inlineTokens(src),
- blockTokens: (src) => lexer.blockTokens(src)
+ blockTokens: (src) => lexer.blockTokens(src),
+ lexer
};
}
tokenizeInline(src) {