Atelier Logo

Atelier

Troubleshooting

Common Text Atelier symptoms and their fixes.

Troubleshooting

SymptomMost likely causeFix
Editor freezes or re-renders endlessly while typingObject-identity instability on labels or theme, or HTML transformation in the change handlerSee Root cause A and Root cause C
Editor in Angular app freezes on startupactiveLabels getter returning a new {} on every CD cycleUse a stable private readonly emptyLabels = {} field
Infinite loop on Angular startup using an old wrapperisWritingValue guard absent — upgrade the packageUpdate @innosoft/atelier-editor-angular to ≥ 0.2.1
"Next" / "Submit" button always disabled even after typingValidators.required on content makes the form permanently invalid before the preview step runsRemove Validators.required from content; track length via a separate validationVal
Button disabled in edit mode (loaded from API)validationVal is not seeded from API content after patchValueCompute validationVal from API content in the subscribe callback
NG8002: Can't bind to 'starterKit'AtelierEditorComponent is not imported where the template uses itAdd AtelierEditorComponent to the imports array. CUSTOM_ELEMENTS_SCHEMA is only needed for the raw <atelier-editor-element> tag
Editor never appears (no element in DOM)SSR render without a client boundaryAdd 'use client' (Next.js), <ClientOnly> (Nuxt), or guard with isPlatformBrowser
Export PDF button missingexportPdf flag is falseSet exportPdf={true}. exportPDF() method works regardless.
PDF downloads but fonts are wrongCustom font file not loaded in host pageAdd the <link> or @font-face to your application's <head>
Custom font in dropdown but text doesn't changeSame — font file not loadedLoad the font file in the host page
Cannot find module 'html2pdf.js' at runtimeObfuscator encoded the dynamic import stringAdd --reserved-strings "html2pdf\\.js" to your obfuscator config
"UNLICENSED" watermarklicenseKey missing, mistyped, or expiredCheck the key; editing still works without a valid license
Cannot read properties of undefined (reading 'trim')licenseKey prop is undefined rather than an empty stringDefault the prop yourself: licenseKey={process.env.NEXT_PUBLIC_LICENSE_EDITOR ?? ''} — the component expects a string, not undefined
Cannot read properties of null (reading 'getHTML')Imperative method called before the editor mountedCall after the editor-ready event or use optional chaining (ref?.getHTML())
No scrollbar when typing a long document in a fixed-height containerThe editor's content area grows unbounded — it has no scroll behavior of its ownGive the wrapping element a fixed height and overflow-y: auto so it becomes the scroll container
Two copies of @innosoft/atelier-editor-core in bundleMixed versions of @innosoft packages in the lockfileUpdate all @innosoft packages together, then run npm dedupe
Angular 14 TypeScript errors about .d.ts input formatPublished types are generated by a newer Angular compilerSet "skipLibCheck": true; if template checks still fail, rebuild the wrapper against your Angular major

On this page