/** * @module plugins/backspace */ import type { IJodit } from 'jodit/types'; import { Dom } from 'jodit/core/dom/dom'; /** * Inside the CELL table - nothing to do * * @example * ```html *
|test
* ``` * result * ```html *
|test
* ``` * * @private */ export function checkTableCell(jodit: IJodit, fakeNode: Node): boolean { const cell = fakeNode.parentElement; if (Dom.isCell(cell)) { return true; } return false; }