From 040481f8a3b452b513cd5e5f287db6d08e625662 Mon Sep 17 00:00:00 2001 From: ChidyOmmy <61321751+ChidyOmmy@users.noreply.github.com> Date: Sat, 26 Oct 2024 18:11:54 +0300 Subject: [PATCH] change node.literal to literal I believe node.literal would be undefined since node has already been destructured to { literal } --- docs/en/custom-html-renderer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/custom-html-renderer.md b/docs/en/custom-html-renderer.md index 3258b1df4e..2f0f69e477 100644 --- a/docs/en/custom-html-renderer.md +++ b/docs/en/custom-html-renderer.md @@ -215,7 +215,7 @@ const editor = new Editor({ text({ literal }) { return { type: 'text', - content: node.literal + content: literal }; } }