Skip to content

[6.x] Bard Link window appears below stack #13160

@mikemartin

Description

@mikemartin

Bug description

When using a Bard field as a fieldtype config field, the Add Link window appears below the stack layers.

Image

How to reproduce

  1. Add Bard config field
$helpConfig = [
          'type' => 'bard',
          'display' => 'Help',
          'instructions' => 'Provide additional help with rich text formatting. Include links to articles, FAQs, and videos for further guidance.',
          'buttons' => [
              'bold',
              'italic',
              'unorderedlist',
              'orderedlist',
              'removeformat',
              'anchor'
          ],
          'fullscreen' => false,
          'allow_source' => false
        ];
        
        // Add Form Fieldtypes
        \Statamic\Fieldtypes\Text::appendConfigField('help_text', $helpConfig);
  1. Edit Text field and scroll down to configuration field

  2. Click Link button in Bard toolbar

  3. Link window opens below stack layer

Logs

Environment

Environment
Application Name: Change Helm
Laravel Version: 12.39.0
PHP Version: 8.3.27
Composer Version: 2.8.11
Environment: local
Debug Mode: ENABLED
URL: changehelm.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Livewire
Livewire: v3.6.4

Statamic
Addons: 9
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.0.0-alpha.17 PRO

Statamic Addons
jacksleight/statamic-bard-mutator: 3.0.5
jacksleight/statamic-bard-texstyle: dev-feature/statamic-6
marcorieser/statamic-livewire: dev-statamic-6
marcorieser/tailwind-merge-statamic: dev-statamic-6
statamic-rad-pack/runway: 9.0.0-alpha.4
studio1902/statamic-peak-browser-appearance: dev-statamic-6
studio1902/statamic-peak-commands: 2.2
studio1902/statamic-peak-seo: dev-statamic-6
studio1902/statamic-peak-tools: dev-statamic-6

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions