chore(ckeditor5-math): fix references: Element -> ModelElement

This commit is contained in:
Elian Doran
2025-07-12 19:26:52 +03:00
parent ee1c3c35d7
commit de91326c12
2 changed files with 5 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
import type { Editor, Element as CKElement, DocumentSelection, PositioningFunction } from 'ckeditor5';
import type { Editor, ModelElement, DocumentSelection, PositioningFunction } from 'ckeditor5';
import { BalloonPanelView, CKEditorError } from 'ckeditor5';
import type { KatexOptions, MathJax2, MathJax3 } from './typings-external.js';
export function getSelectedMathModelWidget(
selection: DocumentSelection
): null | CKElement {
): null | ModelElement {
const selectedElement = selection.getSelectedElement();
if (