mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
fix: Token type not supported by Markdown parser, closes #8101
This commit is contained in:
@@ -32,6 +32,9 @@ export default function makeRules({
|
||||
if (!schema?.nodes.hr) {
|
||||
markdownIt.disable("hr");
|
||||
}
|
||||
if (!schema?.nodes.heading) {
|
||||
markdownIt.disable("heading");
|
||||
}
|
||||
|
||||
plugins.forEach((plugin) => markdownIt.use(plugin));
|
||||
return markdownIt;
|
||||
|
||||
Reference in New Issue
Block a user