@pdfme/schemas 6.1.13-dev.1 → 6.1.13-dev.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -232,7 +232,7 @@ var uiRender$3 = async (arg) => {
232
232
  ...rest
233
233
  });
234
234
  const textBlock = rootElement.querySelector("#text-" + String(schema.id));
235
- if (!textBlock) throw new Error("Text block not found. Ensure the text block has an id of \"text-\" + schema.id");
235
+ if (!textBlock) return;
236
236
  if (mode === "designer") textBlock.addEventListener("keyup", (event) => {
237
237
  text = textBlock.innerText || "";
238
238
  if (keyPressShouldBeChecked(event)) {