Skip to content

Commit b623c00

Browse files
committed
chore: remove commented code
1 parent bb735af commit b623c00

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • packages/super-editor/src/extensions/tab

packages/super-editor/src/extensions/tab/tab.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@ const getTabDecorations = (oldState, newState, tr, view, domSerializer, from = 0
146146

147147
const tabStop = parent.attrs.tabStops[tabCount];
148148
if (tabStop) {
149-
//tabWidth = tabStop.pos - calcNodeLeftOffset(view, invertMapping.map(pos));
150-
//tabWidth = tabStop.pos - calcNodeLeftOffset(parent, tabIndex, pos - $pos.parentOffset, domSerializer, invertMapping, nodeWidthCache);
151149
tabWidth =
152150
tabStop.pos -
153151
calcChildNodesWidth(

0 commit comments

Comments
 (0)