(blockElement: HTMLElement | null)
| 97 | }; |
| 98 | |
| 99 | export const isSpecialPreviewBlock = (blockElement: HTMLElement | null) => { |
| 100 | return isSpecialBlock(blockElement) && !blockElement?.classList.contains(CM_EDITING_CLASS); |
| 101 | }; |
| 102 | |
| 103 | export const isMathBlockElement = (blockElement: HTMLElement | null) => { |
| 104 | return blockElement?.getAttribute("data-type") === "math-block"; |
no test coverage detected