Merge branch 'main' into feature/vue-node-views

This commit is contained in:
Philipp Kühn 2020-11-25 11:38:50 +01:00
commit c66c30ea49
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@ const CustomDocument = Document.extend({
})
const CustomTaskItem = TaskItem.extend({
content: 'paragraph',
content: 'inline*',
})
export default {

View File

@ -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