Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isolated checkbox fixed issue #51 #183

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/components/editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ export default {
content: this.getContent,
autofocus: true,
onUpdate: ({ editor }) => {
this.setContent(editor.getHTML())
const data = editor.getHTML();
this.editor.commands.clearContent()
CarlosPovedaC marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bildschirmfoto 2022-10-09 um 14 15 39

Using the keyboard rather than the mouse breaks the slash command panel close.

this.setContent(data)
this.saveFile()
}
})
Expand Down