From c74377fdfbd38e3cc7b657574c07c2ee8660c20b Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal Date: Thu, 22 Jan 2026 14:32:11 +0530 Subject: [PATCH] chore: update comment --- .../src/core/extensions/table/plugins/insert-handlers/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/core/extensions/table/plugins/insert-handlers/utils.ts b/packages/editor/src/core/extensions/table/plugins/insert-handlers/utils.ts index 6f25bc6edd..3b44f30554 100644 --- a/packages/editor/src/core/extensions/table/plugins/insert-handlers/utils.ts +++ b/packages/editor/src/core/extensions/table/plugins/insert-handlers/utils.ts @@ -220,7 +220,7 @@ export const createRowInsertButton = (editor: Editor, tableInfo: TableInfo): HTM export const findAllTables = (editor: Editor): TableInfo[] => { const tables: TableInfo[] = []; - // More efficient: iterate through document once instead of DOM + doc for each table + // Iterate through document to look for tables editor.state.doc.descendants((node, pos) => { if (node.type.spec.tableRole === "table") { try {