@tiptap/extension-table
Advanced tools
Comparing version 2.5.0-beta.1 to 2.5.0-beta.2
@@ -223,3 +223,3 @@ import { findParentNodeClosestToPos, Node, mergeAttributes, callOrReturn, getExtensionField } from '@tiptap/core'; | ||
if (dispatch) { | ||
const offset = tr.selection.anchor + 1; | ||
const offset = tr.selection.from + 1; | ||
tr.replaceSelectionWith(node) | ||
@@ -226,0 +226,0 @@ .scrollIntoView() |
@@ -225,3 +225,3 @@ (function (global, factory) { | ||
if (dispatch) { | ||
const offset = tr.selection.anchor + 1; | ||
const offset = tr.selection.from + 1; | ||
tr.replaceSelectionWith(node) | ||
@@ -228,0 +228,0 @@ .scrollIntoView() |
{ | ||
"name": "@tiptap/extension-table", | ||
"description": "table extension for tiptap", | ||
"version": "2.5.0-beta.1", | ||
"version": "2.5.0-beta.2", | ||
"homepage": "https://tiptap.dev", | ||
@@ -32,4 +32,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"@tiptap/core": "^2.5.0-beta.1", | ||
"@tiptap/pm": "^2.5.0-beta.1" | ||
"@tiptap/core": "^2.5.0-beta.2", | ||
"@tiptap/pm": "^2.5.0-beta.2" | ||
}, | ||
@@ -36,0 +36,0 @@ "peerDependencies": { |
@@ -305,3 +305,3 @@ import { | ||
if (dispatch) { | ||
const offset = tr.selection.anchor + 1 | ||
const offset = tr.selection.from + 1 | ||
@@ -308,0 +308,0 @@ tr.replaceSelectionWith(node) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
170644