Skip to content

v1.1.0

Choose a tag to compare

@awcodes awcodes released this 23 Sep 19:12
· 19 commits to 1.x since this release
066ea82

What's changed

RichEditorFaker now renders merge tags as Filament merge tag nodes, <span data-type="mergeTag" data-id="key"></span>, so Filament's RichContentRenderer fills them with the values passed to mergeTags(). Before this release, tags were plain {{ key }} text, which Filament shows literally. This affects mergeTag(), paragraphWithMergeTags(), headingWithMergeTags() and docsPage(). (#7)

⚠️ Default output change

Merge tags are no longer rendered as {{ key }} by default. To keep the previous output, publish the config and set:

'rich_editor' => [
    'merge_tag_format' => 'text',
],

Filament merge tags have no fallback, so mergeTag()'s $fallback argument only applies in the text format.

Full Changelog: v1.0.0...v1.1.0