Merge branch 'feature/landingpage' of https://github.com/ueberdosis/tiptap-next into feature/landingpage

This commit is contained in:
Philipp Kühn
2021-02-03 18:36:58 +01:00
41 changed files with 574 additions and 31 deletions

View File

@@ -31,7 +31,9 @@ export default {
addImage() {
const url = window.prompt('URL')
this.editor.chain().focus().setImage({ src: url }).run()
if (url) {
this.editor.chain().focus().setImage({ src: url }).run()
}
},
},
@@ -68,6 +70,10 @@ export default {
img {
max-width: 100%;
height: auto;
&.ProseMirror-selectednode {
outline: 3px solid #68CEF8;
}
}
}
</style>