{ pointerStart = { x: event.clientX, y: event.clientY }; const plugin = listPointerDragKey.get(editor.state); if (!show) plugin?.props.handleDOMEvents?.mousedown?.call(plugin, editor.view, event); }} on:click|capture={(event) => { if ( event.detail && pointerStart && Math.hypot(event.clientX - pointerStart.x, event.clientY - pointerStart.y) > 2 ) { event.preventDefault(); event.stopPropagation(); } pointerStart = null; }}>⋮⋮
move(-1)} >{$i18n.t('Move up')}
= editor.state.doc.content.size} class="disabled:opacity-40" on:click={() => move(1)}>{$i18n.t('Move down')}