Characters get encoded when copying a set with html
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by reproducing the reported behavior in a Bard field containing a set with a Code field: add HTML, then copy or drag the set to another field or entry. Trace the copy/drag path for that set; done means the HTML characters remain unencoded in the copied content.
由索引模型根据 Issue 内容生成。
描述
Bug description
Whenever you copy or drag a set that includes html to another field or another entry, it encodes html characters.
How to reproduce
Create a set with a Code field inside of a Bard field. Add some html to the code field then try to copy it. It will encode the html characters, resulting in something like the image below.
Logs
Environment
Environment
Application Name: Not a Tesla App
Laravel Version: 10.48.29
PHP Version: 8.2.8
Composer Version: 2.8.10
Environment: production
Debug Mode: OFF
URL: www.notateslaapp.com
Maintenance Mode: OFF
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: file
Database: mysql
Logs: stack / single
Mail: postmark
Queue: sync
Session: database
Statamic
Addons: 1
Sites: 2 (Not a Tesla App, Rivian Wave)
Stache Watcher: Disabled
Static Caching: Disabled
Version: 5.58.1 PRO
Statamic Addons
statamic/eloquent-driver: 4.25.2
Statamic Eloquent Driver
Asset Containers: file
Assets: file
Blueprints: eloquent
Collection Trees: file
Collections: eloquent
Entries: eloquent
Forms: eloquent
Global Sets: eloquent
Global Variables: file
Navigation Trees: file
Navigations: eloquent
Revisions: eloquent
Sites: file
Taxonomies: eloquent
Terms: eloquent
Tokens: file
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
- 主要语言
- PHP
- 星标
- 4.9k
- 派生
- 647
- 平均合并
- 1 天 20 小时
- 30 天内合并 PR
- 113
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
statamic/cms 的其他 Issue
-
preferences
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
accessibility
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
antlers
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
navigations
难度 3/5 1-2 天 新手友好度 68/100
维护者通常 1 天内回复
相似的 Issue
-
sync-en
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
sync-en
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
scanaislop/aislop#482 ·
维护者通常 1 天内回复
-
bug UI
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复