mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-28 07:40:13 +08:00
Merge branch 'main' into feature/vue-node-views
This commit is contained in:
commit
c66c30ea49
@ -18,7 +18,7 @@ const CustomDocument = Document.extend({
|
||||
})
|
||||
|
||||
const CustomTaskItem = TaskItem.extend({
|
||||
content: 'paragraph',
|
||||
content: 'inline*',
|
||||
})
|
||||
|
||||
export default {
|
||||
|
@ -79,6 +79,7 @@ const TaskItem = Node.create({
|
||||
const content = document.createElement('div')
|
||||
|
||||
checkbox.type = 'checkbox'
|
||||
checkbox.contentEditable = 'false'
|
||||
checkbox.addEventListener('change', event => {
|
||||
const { checked } = event.target as any
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user