Appearance
Rule.io SDK / rcml/src / DEFAULT_LINKS_MAP
Variable: DEFAULT_LINKS_MAP
constDEFAULT_LINKS_MAP:Record<EmailThemeSocialLinkType,EmailThemeSocialLink>
Defined in: rcml/src/email/theme-defaults.ts:50
Placeholder URLs for each social-link slot. A default-seeded theme always round-trips to well-formed rcml because every slot has a valid URL. Callers overlay real links through the links bucket of createEmailTheme or applyTheme.
These values must match, byte for byte, the Rule editor's own social defaults (defaultHref in social-media-links.model.ts of the rule/rule frontend, email-editor/core/models). The editor compares the template's social links with the brand style's, and a brand style without links resolves to its own defaults; any difference (even a trailing slash) makes the editor show the brand style as "Custom".