Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/builders/creating_themes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ Head Components

.. vale on

Mautic processes most of the ``<mj-head>`` components. ``<mj-attributes>`` don't run.
Mautic processes the ``<mj-head>`` components, including ``<mj-attributes>``.

**Tested elements** include: ``mj-breakpoint``, ``mj-font``, ``mj-html-attributes``, ``mj-style``, ``mj-title``, and ``mj-preview``.
With ``<mj-attributes>``, you can define default styling for Builder blocks. When you drag blocks into the Email editor, they inherit the Theme's colors, fonts, and spacing rather than generic defaults. The Brienz Theme demonstrates this approach.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated based on PR #16042 which adds the grapesjs-mjmlThemeTokens plugin enabling <mj-attributes> support. The Brienz theme demonstrates this with token classes like t-btn-primary and t-body.

Source: mautic/mautic#16042


**Tested elements** include: ``mj-attributes``, ``mj-breakpoint``, ``mj-font``, ``mj-html-attributes``, ``mj-style``, ``mj-title``, and ``mj-preview``.

.. vale off

Expand Down
Loading