Fix linting issues

This commit is contained in:
Ramon Wenger 2024-01-22 12:21:01 +01:00
parent eaca8f32e4
commit f2a9c9cdd9
2 changed files with 3 additions and 2 deletions

View File

@ -42,7 +42,8 @@ const selectionHandler = (e) => {
// console.log(range.startContainer); // console.log(range.startContainer);
// console.log(range.startContainer.parentNode === paragraph.value); // console.log(range.startContainer.parentNode === paragraph.value);
// get start and end of range to use // 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 // find out what the offset is of those containers relative to the parent
// const start = getNodeOffset(startContainer, paragraph.value); // const start = getNodeOffset(startContainer, paragraph.value);
// const end = getNodeOffset(endContainer, paragraph.value); // const end = getNodeOffset(endContainer, paragraph.value);

View File

@ -24,7 +24,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { defineAsyncComponent, ref, computed, onMounted, watch } from 'vue'; import { ref, computed, onMounted, watch } from 'vue';
import { useStore } from 'vuex'; import { useStore } from 'vuex';
import { constructContentComponentBookmarkMutation } from '@/helpers/update-content-bookmark-mutation'; import { constructContentComponentBookmarkMutation } from '@/helpers/update-content-bookmark-mutation';
import { useMutation } from '@vue/apollo-composable'; import { useMutation } from '@vue/apollo-composable';