Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with link inside bard when using remove_empty_nodes: trim #9526

Open
vintagesucks opened this issue Feb 14, 2024 · 1 comment
Open
Labels

Comments

@vintagesucks
Copy link

vintagesucks commented Feb 14, 2024

Bug description

When using remove_empty_nodes: trim within bard, updating an entry with "Continue Editing" will cause the link content to disappear, at least visually. It will be saved to disk and will be present on reload.

Demo:

repro-statamic-continue-editing-link.mp4

How to reproduce

Reproduction repo: https://github.com/vintagesucks/repro-statamic-continue-editing-link

  • Open Home page
  • Add Test set
  • Select URL and enter https://statamic.com/
  • Select After SavingContinue Editing
  • Click Save & Publish

Logs

No response

Environment

Environment
Application Name: Statamic
Laravel Version: 10.44.0
PHP Version: 8.2.15
Composer Version: 2.7.0
Environment: local
Debug Mode: ENABLED
URL: localhost
Maintenance Mode: OFF

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

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

Statamic
Addons: 0
Antlers: runtime
Sites: 1
Stache Watcher: Enabled
Static Caching: Disabled
Version: 4.48.0 Solo

Installation

Fresh statamic/statamic site via CLI

Antlers Parser

Runtime (default)

Additional details

Applies only to newly added sets. Sets that existed when the entry was opened are not affected.

@eugenf
Copy link

eugenf commented Mar 1, 2024

Same issue here but it happens even with remove_empty_nodes: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants