feat: custom text metrics provider (#9121)

This commit is contained in:
Marcel Mraz
2025-02-11 14:23:08 +01:00
committed by GitHub
parent c329470b73
commit e3060dfb8f
19 changed files with 268 additions and 267 deletions
@@ -10,7 +10,6 @@ import {
computeBoundTextPosition,
computeContainerDimensionForBoundText,
getBoundTextElement,
measureText,
redrawTextBoundingBox,
} from "../element/textElement";
import {
@@ -35,6 +34,7 @@ import { arrayToMap, getFontString } from "../utils";
import { register } from "./register";
import { syncMovedIndices } from "../fractionalIndex";
import { StoreAction } from "../store";
import { measureText } from "../element/textMeasurements";
export const actionUnbindText = register({
name: "unbindText",