Browse Source

fix: strike and underline for rich text

pull/7320/head
mertmit 10 months ago
parent
commit
9422e9aa5f
  1. 9
      packages/nc-gui/components/cell/RichText.vue

9
packages/nc-gui/components/cell/RichText.vue

@ -46,6 +46,15 @@ turndownService.addRule('taskList', {
},
})
turndownService.addRule('strikethrough', {
filter: ['s'],
replacement: (content) => {
return `~${content}~`
},
})
turndownService.keep(['u', 'del'])
const checkListItem = {
name: 'checkListItem',
level: 'block',

Loading…
Cancel
Save