Polotno

Changelog · Nov 24, 2026

Polotno 4.23: radial gradients, text padding and box backgrounds

Pick Radial in the color picker for radial gradients, and give text padding with a background that wraps the whole box. Table cells take padding on each side.

Highlights

Radial gradients

Pick Radial in the color picker and drag its center on the canvas. Every exporter draws radial gradients as the editor does. Gradients

Text padding and box backgrounds

A text's background and border can wrap the whole text box, with padding on each side. Text element

Table cell padding per side

Each side of a table cell takes its own padding, and the CellPadding toolbar button opens a popover with a value for each side. Table element

Padding from PowerPoint and InDesign

PowerPoint text boxes and InDesign text frames import at their size with their insets as padding. A filled rectangle or painted frame with text imports as one text with a box background.

Breaking changes

  • polotno 4.23.0 / 3.23.0: Removed legacyBackground from text elements. Designs that use it load as backgroundShape: 'box', which draws the same.
  • All importers: Imported designs use what polotno 4.23 adds: open them with polotno 4.23 or later.

All changes

polotno 4.23.0 / 3.23.0

  • Added radial gradients: pick Radial in the color picker and drag its center on the canvas. Gradients
  • Added text padding and box backgrounds: a text's background and border can wrap the whole text box, with padding on each side. Text element
  • Added padding for each side of a table cell. Table element
  • cellPadding is deprecated in favor of cellPaddingTop, cellPaddingRight, cellPaddingBottom and cellPaddingLeft. Until polotno 5.0 it still sets all four sides, with a one-time warning.
  • The CellPadding toolbar button now opens a popover with a value for each side.
  • A fitted text keeps its background spread and corner radius when its font shrinks to fit.
  • Fixed hidden elements staying behind when their group moves or resizes.
  • Fixed inserted templates losing their variables and page links.
  • Fixed a failed template download showing no error.
  • Fixed a slow template click replacing a later one.
  • Fixed variable tokens showing in capitals while editing uppercase text.

@polotno/schema 0.15.0

  • Schema version 6 adds text padding (paddingTop, paddingRight, paddingBottom, paddingLeft), backgroundShape, and cellPaddingTop, cellPaddingRight, cellPaddingBottom, cellPaddingLeft on tables and cells.
  • Normalized designs write the four cellPadding sides instead of cellPadding, and backgroundShape: 'box' instead of legacyBackground. Both old fields are still accepted as input.*

All exporters@polotno/svg-export 0.15.0, @polotno/html-export 0.14.0, @polotno/pdf-export 0.19.0, @polotno/image-export 0.4.0, @polotno/pptx-export 0.15.0, @polotno/email-export 0.3.0

  • Added radial gradients, text padding, box backgrounds and per-side table cell padding, as in the editor.
  • Fixed text set to resize exporting at an outdated height in SVG, HTML, PDF, PPTX and email.
  • Fixed gradient circle line heads drawing off-center in SVG, HTML and PDF.

@polotno/svg-export 0.15.0, @polotno/html-export 0.14.0

  • Fixed underlines and strikethroughs on curved text.
  • Fixed brightness and blur applying in the wrong order.
  • Nodes returned by elementHook leave out null props, and their attribute values escape &, <, > and ".

@polotno/pdf-export 0.19.0

  • Fixed gradients with inset stops stretching instead of holding their end colors.
  • Fixed images with both sepia and grayscale drawing sepia-toned.
  • Shares Konva and render-tag with the editor instead of bundling its own copies.

@polotno/image-export 0.4.0

  • Added limits.maxMemoryBytes: the most memory one render may hold. It defaults to half the machine's memory, at most 2 GB, so an oversized design is refused before the process runs out of memory. Set 2 GB to keep the previous ceiling on a smaller machine. Image export
  • PNG encoding is 30% faster and uses half the memory.
  • Fixed images and fonts over 50 MB being refused.
  • Draws with the Konva your app installs instead of a bundled copy. In Node.js it sets Konva's canvas backend for the process.

@polotno/pptx-export 0.15.0

  • Fixed lines and image borders with a gradient color exporting black.
  • Fixed text in table cells with thick borders sitting on the border.

All importers@polotno/pdf-import 0.15.0, @polotno/psd-import 0.5.0, @polotno/pptx-import 0.3.0, @polotno/idml-import 0.3.0

  • Fixed one failed load of the importer's code breaking every later import, in PDF, PPTX and IDML import.

@polotno/pdf-import 0.15.0

  • Added radial gradient fills on text.
  • Different import edge case fixes.

@polotno/psd-import 0.5.0

  • Added radial Gradient Overlays on text and shapes.
  • Fixed crafted PSD files with deeply nested data crashing the import.
  • Different import edge case fixes.

@polotno/pptx-import 0.3.0

  • Text boxes import at PowerPoint's size with their insets as padding, and a filled rectangle with text imports as one text with a box background.
  • Table cells keep each of their four margins.
  • Text boxes without autofit import as fixed boxes: text typed past them is cut with "…".
  • Added radial gradients from circle path gradients.
  • Different import edge case fixes.

@polotno/idml-import 0.3.0

  • Text frames import at their size with their Inset Spacing as padding, and a painted frame imports as one text with a box background.
  • Table cells keep each of their four insets.
  • Painted frames and frames justified to the center or bottom import as fixed frames: text typed past them is cut with "…".
  • Added radial gradients, gradient strokes and gradient text.

polotno-node 3.20.0

  • Exports draw radial gradients, text padding, box backgrounds and per-side cell padding, as in the editor.

Embed creative infrastructure into your product

TRUSTED BY

100,000+

CREATORS

300+

BUSINESSES

ExpediaUnbounceLovePopPostGridPredis.ai