Browse Source

Merge pull request #7320 from nocodb/nc-fix/strike-underline

fix: strike and underline for rich text
pull/7326/head
Raju Udava 10 months ago committed by GitHub
parent
commit
ed60781b44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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 = { const checkListItem = {
name: 'checkListItem', name: 'checkListItem',
level: 'block', level: 'block',

Loading…
Cancel
Save