TenanciTenanci

Help centerBranding & TailorKit

TailorKit

A visual editor to customize the texts, images, colors, logo and fonts of your app on each customer's domain, without touching code or duplicating the app.

Available on: Growth, ScaleOpen in the dashboard

TailorKit is a visual editor that runs on top of your app. You open a customer's domain, click what you want to change (a text, the logo, a button color) and publish: only that domain shows the change. The app at your origin stays a single app, the same for everyone; Tenanci does the customizing on the way between the visitor and the origin.

What you can do

Feature Where in the editor Article
Change texts, images, links, colors, fonts, spacing; hide elements; insert blocks Element tab Editing elements
Logo, colors, fonts and corner radius for the whole app; import a brand from a website with AI Brand tab Brand theme
Review, switch off and fix the changes you made Changes tab Publishing and versions
Find and replace, screen sizes, page and global CSS Advanced tab Editing elements
Test different versions of a page with part of your visitors A/B tab TailorKit A/B tests
Translate the app into another language on this domain Language tab Language

Open the editor

  1. Go to the project and open the customer's domain.
  2. Click Open TailorKit at the top of the domain page (it's also in the ⋯ menu of each domain in the list).
  3. Wait for the Connected badge in the editor bar: the preview has loaded the app through the domain and is ready for clicks.

Open this domain's TailorKit

If you see "The app is taking too long to respond", check that the domain and the origin are up and use the reload button for the preview (the circular arrow in the bar).

The editor at a glance

The app preview is on the left and the editing panel on the right. In the top bar:

Control What it does
Edit / Browse In Edit, a click selects the element (and a double click edits text right on the page). In Browse, the app works normally: use it to open menus, log in or go to another screen
Desktop / Tablet / Mobile Resizes the preview. The styles you set apply to the chosen device (details)
Page + Go Type a path (e.g. /pricing) or pick one of the pages the editor has already found
Before/after Shows the original site, without your changes, so you can compare
Undo / Redo Also Ctrl+Z and Ctrl+Shift+Z (or Ctrl+Y)
Version history Go back to any published version (details)
Save draft / Publish Save without going live (Ctrl+S) or publish. The arrow next to Publish has Schedule publication…

Next to the buttons, the editor shows Unsaved changes or All saved. If you try to leave with unsaved changes, it asks first.

How changes reach the site

  • Everything you do goes into the domain's draft. Visitors only see it after you Publish (or at the scheduled time). Each publication becomes a version in the history.
  • Tenanci applies the published version before the page appears: visitors never see the original app flash and then change. In single-page apps (SPA), changes follow navigation and whatever loads later (lists, dialogs, data coming from the API).
  • Each change remembers its element by several traits (text, attributes, classes, position). If the app changes and the element can't be found anymore, the change is skipped (never applied to the wrong element) and the editor tells you in the Changes tab (change health).

Through the API

A domain's TailorKit state (draft, live version, history and schedule) comes from GET /domains/:id/tailorkit:

cURL
curl https://api.tenanci.com/v2/domains/dom_4h7n1q/tailorkit -H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx"
# → { "draft": { "version": 8, "document": {...} } | null,
#     "published": { "version": 7, "document": {...}, "publishedAt": "..." } | null,
#     "history": [ ... ], "scheduled": null }

The key needs domains:read to read and domains:write to save and publish. The document is the same one the editor produces; to save and publish through the API, see publishing through the API.

Next steps