diff --git a/jest.config.js b/jest.config.js index 4e79bfdd4e..ba6cc0454b 100644 --- a/jest.config.js +++ b/jest.config.js @@ -23,6 +23,7 @@ const ignorePatterns = [ 'ansi-regex', 'bail', + 'ccount', // ESM dependency of remark-gfm 'char-regex', 'comma-separated-tokens', 'decode-named-character-reference', @@ -30,6 +31,8 @@ const ignorePatterns = [ 'escape-string-regexp', 'hast-*', 'is-*', + 'longest-streak', // ESM dependency of remark-gfm + 'markdown-table', // ESM dependency of remark-gfm 'mdast-util-*', 'micromark', 'property-information', @@ -46,6 +49,7 @@ const ignorePatterns = [ 'vfile', 'vue-material-design-icons', 'web-namespaces', + 'zwitch', // ESM dependency of remark-gfm ] module.exports = { diff --git a/src/components/NcRichText/NcRichText.vue b/src/components/NcRichText/NcRichText.vue index 465316b9ac..0d6a7b985b 100644 --- a/src/components/NcRichText/NcRichText.vue +++ b/src/components/NcRichText/NcRichText.vue @@ -84,12 +84,17 @@ textarea { This component can support [Github Flavored Markdown](https://github.github.com/gfm/). It adds such elements, as tables, task lists, strikethrough, and supports autolinks by default +It is also possible to make a rendered content interactive and listen for events + ```vue