1

I am using vue2editor following the official documentation of vue2editor. https://github.com/davidroyer/vue2-editor

This is my code:

<template>
  <div id="app">
    <vue-editor v-model="content" :editor-options="editorSettings"></vue-editor>
  </div>
</template>

<script>
import { VueEditor, Quill } from 'vue2-editor'

export default {
  components: {
    VueEditor,
  },

  data() {
    return {
      content: '',
    }
  },
  editorSettings: {
    bounds: 'self',
  },
}
</script>

Pressing on the video icon the video input tooltip is generating with some negative margin on the left. Saw some solution that said to use the 'bound' property and setting that to the element or self. The guidelines available for doing that are for JS. How can I implement that in my component script?

kissu
  • 40,416
  • 14
  • 65
  • 133
adeab
  • 209
  • 1
  • 3
  • 13

1 Answers1

0

Please try this code

<style scoped>
::v-deep .ql-tooltip {
  left: unset !important;
}
</style>

As recommended in this answer

kissu
  • 40,416
  • 14
  • 65
  • 133
Christophe Chenel
  • 1,802
  • 2
  • 15
  • 46