diff --git a/README.md b/README.md index 214b4308..02feec68 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ The parser returns a Node. The following public properties are defined `html_block`, `thematic_break`. - (**Mattermost**) This fork also adds `at_mention`, `channel_link`, `emoji`, `hashtag`, `latex_inline`, - `mention_highlight`, `search_highlight`, `table`, `table_row`, + `mention_highlight`, `highlight_without_notification`, `search_highlight`, `table`, `table_row`, `table_cell`, `edited_indicator`, `checkbox`. - `firstChild` (read-only): a Node or null. - `lastChild` (read-only): a Node or null. diff --git a/lib/index.d.ts b/lib/index.d.ts index 34fb7f12..cc4058d2 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -4,7 +4,7 @@ export type NodeType = 'text' |'softbreak' | 'linebreak' | 'emph' | 'strong' | 'html_inline' | 'link' | 'image' | 'code' | 'document' | 'paragraph' | 'block_quote' | 'item' | 'list' | 'heading' | 'code_block' | 'html_block' | 'thematic_break' | 'custom_inline' | 'custom_block' | 'at_mention' | 'channel_link' | 'emoji' | 'hashtag' | 'latex_inline' | 'table' | 'table_row' | 'table_cell' | 'mention_highlight' | - 'search_highlight' | 'checkbox' | 'edited_indicator'; + 'highlight_without_notification' | 'search_highlight' | 'checkbox' | 'edited_indicator'; export class Node { constructor(nodeType: NodeType, sourcepos?: Position); diff --git a/lib/node.js b/lib/node.js index 87c14b05..137aa879 100644 --- a/lib/node.js +++ b/lib/node.js @@ -18,6 +18,7 @@ function isContainer(node) { case "image": case "latex_inline": case "mention_highlight": + case "highlight_without_notification": case "search_highlight": case "custom_inline": case "custom_block":