tagHandler - Handle blockquote, only with plain text

This commit is contained in:
2019-12-22 00:10:46 +05:30
parent da7ffae93c
commit aed9ea3d87
2 changed files with 15 additions and 0 deletions
+8
View File
@@ -1,4 +1,5 @@
import {
blockquote,
emphasis,
heading,
image,
@@ -89,6 +90,13 @@ export default function handleTag(
}
// END - Handle anchor tag (link)
// START - Handle blockquote
case 'blockquote': {
newParentASTNode = childASTNode = blockquote();
break;
}
// END - Handle blockquote
default:
newParentASTNode = parentASTNode;
break;