diff options
| author | bobzel <zzzman@gmail.com> | 2025-03-23 20:51:21 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-03-23 20:51:21 -0400 |
| commit | 288a0095bf7e54b0c1765ba994f5f203fd8507cf (patch) | |
| tree | 7de076c7a6678ec343631c05f4c7fd21c10f31a6 /src/client/views/nodes/formattedText/nodes_rts.ts | |
| parent | 705975eb43e7904c62e7e847478f6d0dac60d443 (diff) | |
fixed more typing errors. fixed updateBullets to not generate error when part of selection is not on a list.
Diffstat (limited to 'src/client/views/nodes/formattedText/nodes_rts.ts')
| -rw-r--r-- | src/client/views/nodes/formattedText/nodes_rts.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/views/nodes/formattedText/nodes_rts.ts b/src/client/views/nodes/formattedText/nodes_rts.ts index 02ded3103..fe7b77e74 100644 --- a/src/client/views/nodes/formattedText/nodes_rts.ts +++ b/src/client/views/nodes/formattedText/nodes_rts.ts @@ -386,10 +386,6 @@ export const nodes: { [index: string]: NodeSpec } = { }, }, { - style: 'list-style-type=disc', - getAttrs: () => ({ mapStyle: 'bullet' }), - }, - { tag: 'ol', getAttrs: dom => { return { @@ -443,6 +439,7 @@ export const nodes: { [index: string]: NodeSpec } = { mapStyle: { default: 'decimal' }, // "decimal", "multi", "bullet" visibility: { default: true }, }, + marks: '_', content: '(paragraph|audiotag)+ | ((paragraph|audiotag)+ ordered_list)', parseDOM: [ { |
