TEXT EDITING

Add text editing and formatting to your product

Add rich text, typography, and formatting to your app using Polotno SDK — fully customizable, self-hosted, and schema-driven.

TEXT EDITING

Add text editing and formatting to your product

Add rich text, typography, and formatting to your app using Polotno SDK — fully customizable, self-hosted, and schema-driven.

TEXT EDITING

Add text editing and formatting to your product

Add rich text, typography, and formatting to your app using Polotno SDK — fully customizable, self-hosted, and schema-driven.

Polotno SDK lets you embed a complete text editing system inside your app. Users can type, style, and format text directly on the same canvas used for images, shapes, or video — all powered by a unified schema. Developers can offer advanced typography, alignment, and formatting controls without relying on external editors or third-party fonts. Everything runs in the browser or on your own servers, ensuring full control over user data and UX. Text elements are defined in the text element schema, which exposes every property — font, color, alignment, spacing, and transformations — for precise programmatic control and automation.


Key features

Fonts and typography

Support for system and custom fonts with dynamic sizing, weights, and colors. Define consistent type hierarchies for templates or branded content, or let users freely customize font families, letter spacing, and color schemes.

Rich text editing

Allow inline formatting — bold, italic, underline, color, and partial font changes — all editable directly on the canvas. Developers can combine text spans with different properties, giving users fine control over captions, headings, or multi-style layouts.

Text alignment and spacing

Control horizontal and vertical alignment, line height, and letter spacing at both template and element level. These adjustments are live and non-destructive, enabling precise design without external layout tools.

Curved and transformed text

Create curved text paths and rotated text blocks for more flexible layouts. The schema supports geometric transformations like rotation, scaling, and positioning so developers can enable creative typography effects programmatically or interactively.

Automation and schema control

Every property — font, color, alignment, text content, spacing, and transformations — is defined in the text element schema. Use the schema to generate, edit, or update text programmatically, integrate with AI systems, or build automation pipelines for personalized templates at scale.


Example use cases

  • Ad builders – Generate dynamic text layouts for personalized marketing templates.

  • AI content platforms – Combine AI-generated copy with predefined typography styles.

  • E-commerce platforms – Let merchants create product cards or labels with on-brand text styles.

  • Social media tools – Enable quick captioning, branding, or text overlays on media assets.

  • Print and signage systems – Create precise typographic layouts for packaging or large-format prints.

  • Internal creative hubs – Standardize typography across departments with custom font presets and locked styles.

  • Creative automation systems – Generate thousands of text variations automatically using the schema and rendering API.


Developer benefits

  • Unified engine for text, image, and video editing.

  • Self-hosted by default, cloud-ready for automation.

  • Schema-driven architecture for automation and reproducibility.

  • Full control over fonts, rendering, and template logic.

  • Commercial-safe licensing for SaaS and enterprise products.


FAQs

Can I use custom fonts?

Yes. You can load and register any web-safe or custom font files directly in the SDK.

Does it support multi-style or partial formatting?

Yes. The rich text system supports multiple styles within one element.

Can I automate text updates?

Absolutely. Every text property is accessible through the JSON schema for programmatic modification.

Can I mix text with images and videos?

Yes. Text, image, and video elements all share the same schema and canvas.

Is it possible to self-host?

Yes. The editor runs client-side or on your infrastructure for full privacy and performance control.