Skip to content

V40.0 template plaintext editor - #428

Closed
RobinMeis wants to merge 3 commits into
Notifuse:mainfrom
RobinMeis:v40.0-template-plaintext-editor
Closed

RobinMeis wants to merge 3 commits into
Notifuse:mainfrom
RobinMeis:v40.0-template-plaintext-editor

Conversation

@RobinMeis

Copy link
Copy Markdown

No description provided.

EmailTemplate.Text already existed on the API and TS type (and, after
the multipart fix, is now actually sent), but nothing in the console
ever read or wrote it - there was no way to set a template's
text/plain alternative without calling templates.update by hand.

Adds an optional "Plain text" field to the main template editor's
Settings tab (reusing the existing Liquid-tag validator used by
subject/subject_preview), the same field per language in the
Translations tab (including reset-to-default), and a read-only "Plain
Text" tab in the template preview drawer, shown only when the field is
set.
Lets a local build pass --build-arg BUILD_TAGS=licdev to trust the dev
licence signing key for testing gated features, without changing the
default (empty) build that every published image still uses.
The Settings-tab field and per-language Translations-card textarea from
the previous commit were a bolted-on duplicate of something that
belongs next to the email body: no room for import/export, and a
separate field per language when the body editor is already shared
across languages.

"Plain text" is now a peer of Code/Errors/Test Data/Generated HTML in
the code editor's tab strip, and a third option of the visual editor's
Edit/Preview switcher - both surfaces already used by the main editor
and by every language's nested editor Drawer, so every language gets
the same full editing experience for free. Both toolbars gained a
Plain text import/export group (.txt), backed by a small shared
Monaco-based panel and a couple of read/download helpers.
@RobinMeis RobinMeis closed this Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant