Fix linting issues
This commit is contained in:
parent
eaca8f32e4
commit
f2a9c9cdd9
|
|
@ -42,7 +42,8 @@ const selectionHandler = (e) => {
|
|||
// console.log(range.startContainer);
|
||||
// console.log(range.startContainer.parentNode === paragraph.value);
|
||||
// get start and end of range to use
|
||||
const { startContainer, endContainer, startOffset, endOffset } = range;
|
||||
const { startOffset, endOffset } = range;
|
||||
// const { startContainer, endContainer, startOffset, endOffset } = range;
|
||||
// find out what the offset is of those containers relative to the parent
|
||||
// const start = getNodeOffset(startContainer, paragraph.value);
|
||||
// const end = getNodeOffset(endContainer, paragraph.value);
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { defineAsyncComponent, ref, computed, onMounted, watch } from 'vue';
|
||||
import { ref, computed, onMounted, watch } from 'vue';
|
||||
import { useStore } from 'vuex';
|
||||
import { constructContentComponentBookmarkMutation } from '@/helpers/update-content-bookmark-mutation';
|
||||
import { useMutation } from '@vue/apollo-composable';
|
||||
|
|
|
|||
Loading…
Reference in New Issue