Skip to content

Commit

Permalink
chore: remove commented GlobalDragHandle extension and add showDragMe…
Browse files Browse the repository at this point in the history
…nu state
  • Loading branch information
Tsuzat committed Feb 8, 2025
1 parent 69c41e2 commit 0c82aed
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/lib/components/shad-editor/shad-editor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import './onedark.css';
import SearchAndReplace from './custom/Extentions/SearchAndReplace.js';
import SearchReplace from './icons/search-replace.svelte';
import GlobalDragHandle from 'tiptap-extension-global-drag-handle';
import AutoJoiner from 'tiptap-extension-auto-joiner';
import Button from '../ui/button/button.svelte';
import { ArrowUp } from 'lucide-svelte';
Expand Down Expand Up @@ -83,6 +82,9 @@
let editor = $state<Editor>();
let element = $state<HTMLElement>();
// Show Drag Menu
let showDragMenu = $state(false);
// Open Popovers
let searchReplaceOpen = $state(false);
Expand Down Expand Up @@ -167,10 +169,6 @@
});
}
}),
// GlobalDragHandle.configure({
// scrollTreshold: 100,
// dragHandleSelector: '.drag-handle'
// }),
AutoJoiner,
Typography,
Text,
Expand Down

0 comments on commit 0c82aed

Please sign in to comment.