Skip to content
Merged
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
7 changes: 7 additions & 0 deletions src/components/Editor/FloatingButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ export default {
},
},

mounted() {
// Start hidden until the drag handle plugin positions the buttons on
// first mousemove. The Vue 3 wrapper of @tiptap/extension-drag-handle
// does that internally, so this is not needed on NC v35 onwards.
this.$el.style.visibility = 'hidden'
},

methods: {
onNodeChange({ node, pos }) {
this.node = node
Expand Down
Loading