跳到内容
新问题

对这个项目有疑问吗?注册一个免费的GitHub帐户以打开一个问题,并联系其维护者和社区。

单击“注册GitHub”,表示您同意我们的服务条款隐私声明。我们偶尔会向您发送与帐户相关的电子邮件。

已经在GitHub上了?登录到您的帐户

启用显示按钮文本标签后,改进链接控制预览。 #61726

已合并

对话

阿费西娅
复制链接
贡献者

请参见#61158

什么?

当启用“显示按钮文本标签”首选项时,LInkControl预览显示其内容的水平空间非常有限,尤其是使用某些语言时。请参阅上的屏幕截图#61158(评论)

链接预览和带有可见文本的按钮都需要更多的水平空间。

启用“显示按钮文本标签”后,无需在同一行上显示预览和按钮。在某种程度上,“显示按钮文本标签”已经改变了UI,因此可以为带有可见文本的按钮提供不同的布局。在新行上布置按钮似乎是最简单、更有效的解决方案。

Ping一些在此UI上工作或熟悉非西方语言的人员:
@richtabor公司 @MaggieCabrera公司 @邋遢鬼 @格特戴夫 @t-hamano公司

为什么?

  • 链接预览可能太窄,几乎没有用处,因为它显示预览和URL的非常有限的部分。
  • 按钮文本甚至可能不完全可读,例如,请参阅管理语言设置为日语的屏幕截图

怎么用?

仅当显示按钮文本标签首选项已启用。对于带有图标按钮的默认布局,不应有任何可视更改。

测试说明

  • 编辑帖子,添加带有一些文本和链接的段落。
  • 观察UI以添加链接没有可视更改。
  • 添加链接后,再次单击该链接以显示带有链接预览的弹出窗口。
  • 观察无可见变化。
  • 转到选项>首选项>辅助功能,并启用“显示按钮文本标签”首选项。
  • 再次单击段落中的链接。
  • 观察链接预览位于一行,带有可见文本的按钮位于第二行,右对齐。
  • 使用英语以外的语言进行测试,例如西班牙语、法语、德语、日语和RTL语言。
  • 观察按钮文本始终完全可见。
  • 注:最糟糕的情况可能是按钮被包裹到第二行,例如西班牙语。

键盘测试说明

屏幕截图或屏幕广播

之前

屏幕截图2024-05-16,16 10 42

截图2024-05-16第15 53 51页

截图2024-05-16第15 54 44页

之后

默认值不变:

违约

已启用“显示按钮文本标签”,英文:

英语

已启用“显示按钮文本标签”,西班牙语:

西班牙语

已启用“显示按钮文本标签”,日语:

日本

@阿费西娅 阿费西娅补充[类型]Bug 现有功能无法按预期工作 需要设计反馈 需要一般设计反馈。 [Package]块编辑器 /包/块编辑器 【功能】链接编辑 链接组件(LinkControl、URLInput)和集成(RichText链接格式)标签2024年5月16日
复制链接

github-操作 机器人程序 评论2024年5月16日

以下账户与本公关和/或相关问题进行了互动。当活动发生时,我将继续更新这些列表。您还可以通过添加支柱支架标签。

如果您通过GitHub上的拉请求合并代码,请将以下内容复制并粘贴到合并提交消息的底部。

合著者:afercia<afercia@git.wordpress.org>合著者:t-hamano<wildworks@git.wordpress.org>合著者:jasmussen<joen@git.wordpress.org>合著者:richtabor<richtabor@git.wordpress.org>

为了理解WordPress项目对贡献者的期望,请查看核心手册中的贡献者归因页面.

复制链接

github-操作 机器人程序 评论2024年5月16日

尺寸变化:+13亿(0%)

总大小:1.74 MB

文件名 大小 更改
build/block-editor/style-rtl.css 15.5千字节 +4亿(+0.03%)
构建/块编辑器/样式.css 15.5千字节 +9亿(+0.06%)
ℹ️查看未更改
文件名 大小
构建/a11y/index.min.js 955亿
build/annotations/index.min.js 2.27千字节
构建/api-fetch/index.min.js 2.32千字节
build/autop/index.min.js版本 2.1千字节
build/blob/index.min.js 578亿
build/block-directory/index.min.js 7.29千字节
构建/块目录/样式-rtl.css 1.03千字节
构建/块目录/样式.css 1.03千字节
build/block-editor/content-rtl.css 4.57千字节
构建/块编辑器/内容.css 4.57千字节
构建/块编辑器/默认编辑器样式-rtl.css 395亿
构建/块编辑器/默认编辑器样式.css 395亿
build/block-editor/index.min.js 260千字节
build/block-library/blocks/archives/editor-rtl.css 61亿
build/block-library/blocks/archives/editor.css 60亿
构建/block-library/blocks/archives/style-rtl.css 90亿
build/block-library/blocks/archives/style.css 90亿
build/block-library/blocks/audio/editor-rtl.css 150亿
build/block-library/blocks/audio/editor.css 150亿
build/block-library/blocks/audio/style-rtl.css 122亿
build/block-library/blocks/audio/style.css 122亿
构建/block-library/blocks/audio/theme-rtl.css 133亿
构建/block-library/blocks/audio/theme.css 133亿
build/block-library/blocks/avatar/editor-rtl.css 116亿
build/block-library/blocks/avatar/editor.css 116亿
构建/块库/blocks/avatar/style-rtl.css 104磅
build/block-library/blocks/avatar/style.css 104磅
build/block-library/blocks/block/editor-rtl.css 277亿
build/block-library/blocks/block/editor.css 277亿
build/block-library/blocks/button/editor-rtl.css 415亿
build/block-library/blocks/button/editor.css 414亿
构建/块库/blocks/button/style-rtl.css 627亿
build/block-library/blocks/button/style.css 626亿
构建/块库/blocks/buttons/editor-rtl.css 337亿
build/block-library/blocks/buttons/editor.css 337亿
build/block-library/blocks/buttons/style-rtl.css 332亿
build/block-library/blocks/buttons/style.css 332亿
build/block-library/blocks/calendar/style-rtl.css 239亿
构建/块库/blocks/calendar/style.css 239亿
构建/块库/blocks/categories/editor-rtl.css 113亿
build/block-library/blocks/categories/editor.css 112亿
build/block-library/blocks/categories/style-rtl.css 124亿
build/block-library/blocks/categories/style.css 124亿
build/block-library/blocks/code/editor-rtl.css 53亿
build/block-library/blocks/code/editor.css 53亿
build/block-library/blocks/code/style-rtl.css 121亿
build/block-library/blocks/code/style.css 121亿
build/block-library/blocks/code/theme-rtl.css 124亿
build/block-library/blocks/code/theme.css 124亿
build/block-library/blocks/columns/editor-rtl.css 108亿
build/block-library/blocks/columns/editor.css 108亿
build/block-library/blocks/columns/style-rtl.css 421亿
build/block-library/blocks/columns/style.css 421亿
build/block-library/blocks/comment作者avatar/editor-rtl.css 125亿
build/block-library/blocks/comment-author-avatar/editor.css 125亿
build/block-library/blocks/comment-content/style-rtl.css 92亿
build/block-library/blocks/comment-content/style.css 92亿
build/block-library/blocks/comment-template/style-rtl.css 199亿
build/block-library/blocks/comment-template/style.css 198亿
build/block-library/blocks/comments-pagination-numbers/editor-rtl.css 123亿
build/block-library/blocks/comments-pagination-numbers/editor.css 121亿
build/block-library/blocks/comments-pagination/editor-rtl.css 222亿
构建/块库/blocks/comments分页/editor.css 209亿
build/block-library/blocks/comments-pagination/style-rtl.css 235亿
build/block-library/blocks/comments-pageination/style.css 231亿
build/block-library/blocks/comments-title/editor-rtl.css 75亿
build/block-library/blocks/comments-title/editor.css 75亿
build/block-library/blocks/comments/editor-rtl.css 840亿
build/block-library/blocks/comments/editor.css 839亿
build/block-library/blocks/comments/style-rtl.css 637亿
build/block-library/blocks/comments/style.css 636亿
build/block-library/blocks/cover/editor-rtl.css 671亿
build/block-library/blocks/cover/editor.css 674亿
build/block-library/blocks/cover/style-rtl.css 1.7千字节
build/block-library/blocks/cover/style.css 1.69千字节
build/block-library/blocks/details/editor-rtl.css 65亿
build/block-library/blocks/details/editor.css 65亿
build/block-library/blocks/details/style-rtl.css 86亿
build/block-library/blocks/details/style.css 86亿
build/block-library/blocks/embed/editor-rtl.css 312亿
build/block-library/blocks/embed/editor.css 312亿
构建/块库/blocks/embed/style-rtl.css 410亿
build/block-library/blocks/embed/style.css 410亿
构建/block-library/blocks/embed/theme-rtl.css 133亿
build/block-library/blocks/embed/theme.css 133亿
build/block-library/blocks/file/editor-rtl.css 326亿
build/block-library/blocks/file/editor.css 327亿
build/block-library/blocks/file/style-rtl.css 280亿
build/block-library/blocks/file/style.css 281亿
构建/块库/块/文件/view.min.js 324亿
build/block-library/blocks/footnotes/style-rtl.css 201 B
build/block-library/blocks/footnotes/style.css 199亿
build/block-library/blocks/form-input/editor-rtl.css 227亿
build/block-library/blocks/form-input/editor.css 227亿
build/block-library/blocks/form-input/style-rtl.css 343亿
build/block-library/blocks/form-input/style.css 343亿
build/block-library/blocks/form-submission-notification/editor-rtl.css 340亿
build/block-library/blocks/form-submission-notification/editor.css 340亿
构建/块库/块/表单提交按钮/style-rtl.css 69亿
build/block-library/blocks/form-submit-button/style.css 69亿
构建/块库/blocks/form/view.min.js 471亿
build/block-library/blocks/freeform/editor-rtl.css 2.61千字节
构建/块库/块/自由形式/编辑器.css 2.61千字节
build/block-library/blocks/galletry/editor-rtl.css 956亿
build/block-library/blocks/galletry/editor.css 960亿
构建/block-library/blocks/gallery/style-rtl.css 1.72千字节
build/block-library/blocks/gallower/style.css 1.72千字节
build/block-library/blocks/gallower/theme-rtl.css版本 108亿
build/block-library/blocks/gallery/主题.css 108亿
构建/块库/blocks/group/editor-rtl.css 403亿
build/block-library/blocks/group/editor.css 403亿
build/block-library/blocks/group/style-rtl.css 103亿
构建/块库/blocks/group/style.css 103亿
构建/块-库/块/组/主题-rtl.css 78亿
构建/块-库/块/组/主题.css 78亿
build/block-library/blocks/heading/style-rtl.css 189亿
build/block-library/blocks/heading/style.css 189亿
构建/block-library/blocks/html/editor-rtl.css 336亿
build/block-library/blocks/html/editor.css 337亿
build/block-library/blocks/image/editor-rtl.css 891亿
build/block-library/blocks/image/editor.css 891亿
构建/块库/blocks/image/style-rtl.css 1.6千字节
build/block-library/blocks/image/style.css 1.59千字节
构建/block-library/blocks/image/theme-rtl.css 133亿
构建/block-library/blocks/image/theme.css 133亿
build/block-library/blocks/image/view.min.js 1.54千字节
build/block-library/blocks/latest-comments/style-rtl.css 357亿
build/block-library/blocks/latest-comments/style.css 357亿
build/block-library/blocks/platest-posts/editor-rtl.css 213个B
build/block-library/blocks/platest-posts/editor.css 212亿
build/block-library/blocks/platest-posts/style-rtl.css 494亿
build/block-library/blocks/platest-posts/style.css 494亿
build/block-library/blocks/list/style-rtl.css 88亿
构建/块库/blocks/list/style.css 88亿
build/block-library/blocks/media-text/editor-rtl.css 306亿
构建/块库/块/媒体文本/编辑器.css 305亿
build/block-library/blocks/media-text/style-rtl.css 505亿
build/block-library/blocks/media-text/style.css 503磅
build/block-library/blocks/more/editor-rtl.css 431磅
build/block-library/blocks/more/editor.css 431磅
build/block-library/blocks/navigation-link/editor-rtl.css 668亿
构建/块库/块/导航链接/editor.css 669亿
build/block-library/blocks/navigation-link/style-rtl.css 193亿
build/block-library/blocks/navigation-link/style.css 192亿
build/block-library/blocks/navigation-submenu/editor-rtl.css 296亿
build/block-library/blocks/navigation-submenu/editor.css 295亿
build/block-library/blocks/navigation/editor-rtl.css 2.26千字节
build/block-library/blocks/navigation/editor.css 2.26千字节
build/block-library/blocks/navigation/style-rtl.css 2.26千字节
build/block-library/blocks/navigation/style.css 2.25千字节
build/block-library/blocks/navigation/view.min.js 1.03千字节
build/block-library/blocks/nextpage/editor-rtl.css 395亿
build/block-library/blocks/nextpage/editor.css 395亿
build/block-library/blocks/page-list/editor-rtl.css 377亿
build/block-library/blocks/page-list/editor.css 377亿
build/block-library/blocks/page-list/style-rtl.css 175亿
build/block-library/blocks/page-list/style.css 175亿
构建/块库/块/段落/编辑器-rtl.css 235亿
build/block-library/blocks/pragment/editor.css 235亿
build/block-library/blocks/pragment/style-rtl.css 335亿
构建/块库/blocks/paragraph/style.css 335亿
build/block-library/blocks/post-author/style-rtl.css 175亿
build/block-library/blocks/post-author/style.css 176亿
build/block-library/blocks/post-comments-form/editor-rtl.css 96亿
build/block-library/blocks/post-comments-form/editor.css 96亿
build/block-library/blocks/post-comments-form/style-rtl.css 508亿
build/block-library/blocks/post-comments-form/style.css 508亿
build/block-library/blocks/post-content/editor-rtl.css 74亿
build/block-library/blocks/post-content/editor.css 74亿
构建/块库/blocks/post-date/style-rtl.css 61亿
build/block-library/blocks/post-date/style.css 61亿
构建/块库/blocks/post摘录/editor-rtl.css 71亿
build/block-library/blocks/post-extract/editor.css 71亿
build/block-library/blocks/post-extract/style-rtl.css 141亿
build/block-library/blocks/post-extract/style.css 141亿
build/block-library/blocks/post-featured-image/editor-rtl.css 734亿
build/block-library/blocks/post-featured-image/editor.css 732亿
build/block-library/blocks/post-featured-image/style-rtl.css 342亿
build/block-library/blocks/post-featured-image/style.css 342亿
build/block-library/blocks/post-navigation-link/style-rtl.css 215亿
build/block-library/blocks/post-navigation-link/style.css 214亿
build/block-library/blocks/post-template/editor-rtl.css 99亿
build/block-library/blocks/post-template/editor.css 98亿
build/block-library/blocks/post-template/style-rtl.css 397亿
build/block-library/blocks/post-template/style.css 396亿
build/block-library/blocks/post-terms/style-rtl.css 96亿
build/block-library/blocks/post-terms/style.css 96亿
构建/块库/块/读取后时间/style-rtl.css 69亿
build/block-library/blocks/post-time-to-read/style.css 69亿
build/block-library/blocks/post-title/style-rtl.css 100亿
build/block-library/blocks/post-title/style.css 100亿
构建/块库/blocks/preformated/style-rtl.css 125亿
build/block-library/blocks/preactatted/style.css 125亿
构建/块库/块/pullquote/editor-rtl.css 135亿
build/block-library/blocks/pullquote/editor.css 135亿
build/block-library/blocks/pullquote/style-rtl.css 354亿
build/block-library/blocks/pullquote/style.css 353亿
build/block-library/blocks/pullquote/theme-rtl.css 174亿
构建/block-library/blocks/pullquote/theme.css 174亿
build/block-library/blocks/query-pagination-numbers/editor-rtl.css 122亿
build/block-library/blocks/query-pagination-numbers/editor.css 121亿
构建/块库/blocks/query分页/editor-rtl.css 221亿
build/block-library/blocks/query-pagination/editor.css 211亿
build/block-library/blocks/query-pagination/style-rtl.css 288亿
build/block-library/blocks/query-pagination/style.css 284亿
build/block-library/blocks/query-title/style-rtl.css 63亿
build/block-library/blocks/query-title/style.css 63亿
build/block-library/blocks/query/editor-rtl.css 486亿
build/block-library/blocks/query/editor.css 486亿
build/block-library/blocks/query/view.min.js 958亿
build/block-library/blocks/quote/style-rtl.css 237亿
build/block-library/blocks/quote/style.css 237亿
build/block-library/blocks/quote/theme-rtl.css 233亿
构建/block-library/blocks/quote/theme.css 235亿
build/block-library/blocks/read-more/style-rtl.css 140亿
build/block-library/blocks/read-more/style.css 140亿
build/block-library/blocks/rss/editor-rtl.css 101亿
构建/块库/blocks/rss/editor.css 101亿
build/block-library/blocks/rss/style-rtl.css 289亿
build/block-library/blocks/rss/style.css 288亿
build/block-library/blocks/search/editor-rtl.css 184亿
build/block-library/blocks/search/editor.css 184亿
build/block-library/blocks/search/style-rtl.css 690亿
build/block-library/blocks/search/style.css 689亿
构建/block-library/blocks/search/theme-rtl.css 114亿
构建/block-library/blocks/search/theme.css 114亿
build/block-library/blocks/search/view.min.js 478亿
build/block-library/blocks/seleparator/editor-rtl.css 146亿
构建/块库/块/分隔符/编辑器.css 146亿
build/block-library/blocks/seleparater/style-rtl.css 239亿
build/block-library/blocks/seleparater/style.css 239亿
build/block-library/blocks/seleparater/theme-rtl.css 194亿
build/block-library/blocks/seleparater/theme.css 194亿
build/block-library/blocks/shortcode/editor-rtl.css 286亿
build/block-library/blocks/shortcode/editor.css 286亿
build/block-library/blocks/site-logo/editor-rtl.css 805亿
build/block-library/blocks/site-logo/editor.css 805亿
build/block-library/blocks/site徽标/style-rtl.css 204亿
build/block-library/blocks/site-logo/style.css 204亿
构建/块库/blocks/site标语/editor-rtl.css 86亿
build/block-library/blocks/site-tagline/editor.css 86亿
build/block-library/blocks/site-title/editor-rtl.css 116亿
build/block-library/blocks/site-title/editor.css 116亿
build/block-library/blocks/site-title/style-rtl.css 57亿
build/block-library/blocks/site-title/style.css 57亿
构建/block-library/blocks/social-link/editor-rtl.css 324亿
build/block-library/blocks/social-link/editor.css 324亿
build/block-library/blocks/social-links/editor-rtl.css 676亿
build/block-library/blocks/social-links/editor.css 675亿
build/block-library/blocks/social-links/style-rtl.css 1.5千字节
build/block-library/blocks/social-links/style.css 1.5千字节
build/block-library/blocks/spacer/editor-rtl.css 350亿
build/block-library/blocks/spacer/editor.css 350亿
构建/块库/blocks/spacer/style-rtl.css 48亿
build/block-library/blocks/spacer/style.css 48亿
build/block-library/blocks/table/editor-rtl.css 395亿
build/block-library/blocks/table/editor.css 395亿
build/block-library/blocks/table/style-rtl.css 639亿
build/block-library/blocks/table/style.css 639亿
build/block-library/blocks/table/theme-rtl.css 152亿
build/block-library/blocks/table/theme.css 152亿
构建/block-library/blocks/tag-cloud/style-rtl.css 251亿
build/block-library/blocks/tag-cloud/style.css 253亿
构建/块库/blocks/template部件/editor-rtl.css 393亿
build/block-library/blocks/template-part/editor.css 393亿
build/block-library/blocks/template-part/theme-rtl.css 107亿
build/block-library/blocks/template-part/theme.css 107亿
构建/块库/blocks/term-description/style-rtl.css 111亿
build/block-library/blocks/term-description/style.css 111亿
build/block-library/blocks/text-columns/editor-rtl.css 95亿
build/block-library/blocks/text-columns/editor.css 95亿
构建/块库/块/文本列/style-rtl.css 166亿
build/block-library/blocks/text-columns/style.css 166亿
构建/block-library/blocks/verse/style-rtl.css 99亿
build/block-library/blocks/verse/style.css 99亿
build/block-library/blocks/video/editor-rtl.css 552亿
build/block-library/blocks/video/editor.css 555亿
build/block-library/blocks/video/style-rtl.css 185亿
build/block-library/blocks/video/style.css 185亿
构建/block-library/blocks/video/theme-rtl.css 133亿
build/block-library/blocks/video/theme.css 133亿
build/block-library/classic-rtl.css 179亿
build/block-library/csss 179亿
build/block-library/common-rtl.css 1.11千字节
build/block-library/common.css 1.11千字节
build/block-library/editor-elements-rtl.css 75亿
build/block-library/editor-elements.css 75亿
build/block-library/editor-rtl.css 12.2千字节
build/block-library/editor.css 12.2千字节
构建/块库/元素-rtl.css 54亿
构建/块库/元素.css 54亿
build/block-library/index.min.js 218千字节
构建/块库/reset-rtl.css 472亿
build/block-library/reset.css 472亿
构建/块库/style-rtl.css 14.8千字节
build/block-library/style.css 14.8千字节
构建/块库/theme-rtl.css 707亿
构建/块-库/theme.css 713亿
build/block-serialization-default-parser/index.min.js 1.12千字节
build/block-serialization-specifi-parser/index.min.js 2.87千字节
构建/blocks/index.min.js 51.8千字节
build/commands/index.min.js 15.2千字节
build/commands/style-rtl.css 953亿
build/commands/style.css 951亿
build/components/index.min.js 222千字节
build/components/style-rtl.css 12千字节
build/components/style.css 12千字节
构建/合成/索引.min.js 12.8千字节
build/core-commands/index.min.js 2.71千字节
构建/core-data/index.min.js 72.5千字节
构建/定制e-widgets/index.min.js 10.9千字节
构建/定制e-widgets/style-rtl.css 1.36千字节
构建/定制e-widgets/style.css 1.36千字节
构建/数据控制/索引.min.js 640亿
build/data/index.min.js版本 9.01千字节
构建/日期/索引.min.js 17.9千字节
build/deprecated/index.min.js 451亿
构建/dom-ready/index.min.js 324亿
构建/dom/index.min.js 4.65千字节
构建/编辑-发布/分类-rtl.css 578亿
构建/编辑post/classic.css 578亿
build/edit-post/index.min.js 14.6千字节
构建/编辑-发布/样式-rtl.css 2.68千字节
构建/编辑-发布/样式.css 2.68千字节
build/edit-site/index.min.js 214千字节
构建/编辑site/style-rtl.css 12.5千字节
构建/编辑site/style.css 12.5千字节
build/edit-widgets/index.min.js 17.5千字节
build/edit-widgets/style-rtl.css 4.18千字节
build/edit-widgets/style.css 4.18千字节
build/editor/index.min.js 91.9千字节
构建/编辑器/样式-rtl.css 8.39千巴
构建/编辑器/样式.css 8.4千字节
build/element/index.min.js 4.83千字节
build/escape-html/index.min.js 537亿
build/format-library/index.min.js 8.09千字节
build/format-library/style-rtl.css 493亿
构建/格式库/样式.css 492亿
build/hooks/index.min.js 1.55千字节
build/html-entities/index.min.js 448亿
构建/i18n/index.min.js 3.58千字节
构建/交互/调试.min.js 16.4千字节
构建/交互/文件.min.js 447磅
构建/交互/image.min.js 1.67千字节
构建/交互/index.min.js 13.2千字节
构建/交互/导航.min.js 1.17千字节
build/interactivity/query.min.js 740亿
构建/交互/路由.min.js 2.81千字节
构建/交互/搜索.min.js 618亿
构建/is-shallow-equal/index.min.js 527亿
构建/键盘快捷方式/index.min.js 1.31千字节
build/keycodes/index.min.js 1.46千字节
构建/list-reasable-blocks/index.min.js 2.14千字节
构建/list-rusable-blocks/style-rtl.css 851磅
build/list-rusable-blocks/style.css 851磅
build/media-utils/index.min.js 2.92千字节
build/modules/importmap-polyfill.min.js 12.2千字节
build/notices/index.min.js 948亿
build/nux/index.min.js版本 1.58千字节
build/nux/style-rtl.css 748亿
build/nux/style.css 744亿
build/patterns/index.min.js 6.51千字节
build/patterns/style-rtl.css 595亿
构建/模式/样式.css 595亿
build/plugins/index.min.js 1.81千字节
build/preferences-persistence/index.min.js 2.06千字节
build/preferences/index.min.js 2.9千字节
build/preferences/style-rtl.css 710亿
build/preferences/style.css 712亿
build/primitives/index.min.js 831亿
build/priority-queue/index.min.js 1.52千字节
build/private-apis/index.min.js 1千字节
build/react-i18n/index.min.js 629亿
build/react-refresh-entry/index.min.js 9.47千字节
build/react-refresh-runtime/index.min.js 6.78千字节
build/redux-routine/index.min.js 2.7千字节
构建/可重用块/index.min.js 2.72千字节
构建/可重用块/style-rtl.css 256亿
构建/可重用块/样式.css 256亿
构建/rich-text/index.min.js 10.1千字节
build/router/index.min.js 1.96千字节
build/server-side-render/index.min.js 1.97千字节
build/shortcode/index.min.js 1.39千字节
build/style-engine/index.min.js 2.02千字节
构建/令牌列表/index.min.js 582亿
构建/url/index.min.js 3.74千字节
build/vendors/react-dom.min.js 42.8千字节
build/vendors/react-jsx-runtime.min.js 554亿
build/vendors/react.min.js 2.65千字节
build/viewport/index.min.js 964亿
build/warning/index.min.js 249亿
build/widgets/index.min.js 7.13千字节
构建/widgets/style-rtl.css 1.17千字节
build/widgets/style.css 1.17千字节
build/wordcount/index.min.js版本 1.02千字节

压缩尺寸作用

@贾斯穆森
复制链接
贡献者

作为一个临时修复似乎不错。最好看看这些模式如何扩展到其他上下文,在某些上下文中,堆叠可能无法工作,可能需要滚动或一些溢出处理。

@贾斯穆森 贾斯穆森远离的这个需要设计反馈 需要一般设计反馈。标签2024年5月17日
复制链接
贡献者

@t-hamano公司 t-hamano公司 留下了评论

选择隐藏此评论的原因

将显示原因,以便向其他人描述此评论。了解更多信息.

这张公关照我预期的那样运作,我认为可以按原样发货。

下面的视频显示了即使在狭窄的视口中,按钮也如何正确地包裹而不溢出。

53042c61a1d17d5b40450f65068e4afb.mp4

与此PR无关的一个更严重的问题是,块工具栏中的文本被笨拙地包装😅

形象

@里奇塔博
复制链接
成员

不错。问题。为什么不去掉理由?

CleanShot 2024-05-21,11 59 06

@阿费西娅
复制链接
贡献者 作者

问题。为什么不去掉理由?

只想保持正确的对齐,不引入不相关的更改。将进行调整。

可能需要滚动或一些溢出处理

应避免水平滚动,因为这对键盘用户来说是意料之外且困难的。此外,无论是垂直滚动还是水平滚动,编辑器仍然没有完全可访问的“可滚动div”组件。#47426我做了一些工作,使模态对话框的可滚动内容完全可访问,但我找不到时间和动力将其移植到更抽象的组件。

一个与此PR无关的更严重的问题是块工具栏中的文本包装不当

这很可能发生在使用固定高度的地方。已知具有固定大小和/或固定或粘滞位置的元素会触发此类问题。理想情况下,应避免固定大小,以允许内容按预期在web上的行为:回流并适应不断变化的视口。

@阿费西娅 阿费西娅 用力推动的这个 try/link-control-preview-show-button文本标签 分支 1916年 5ac4cba 比较 2024年5月23日14:39
@阿费西娅
复制链接
贡献者 作者

启用首选项后,最新提交将删除右对齐。

英语、西班牙语和日语屏幕截图:

截图2024-05-23,16 38 35

屏幕截图2024-05-23,16 38 00

截图2024-05-23,16 36 35

复制链接

github-操作 机器人程序 评论2024年5月23日

在中检测到片状测试5ac4cba.
一些测试通过,但尝试失败。失败可能与此提交无关,但仍会报告以供查看。请参见文档了解更多信息。

🔍 工作流运行URL:https://github.com/WordPress/gutenberg/actions/runs/9210022752
📝 报告的问题:

@阿费西娅 阿费西娅合并提交6f0037c进入之内 大旅行箱 2024年5月24日
62项检查通过
@阿费西娅 阿费西娅删除了 try/link-control-preview-show-button文本标签 分支 2024年5月24日06:40
@github-操作 github-操作 机器人程序将此添加到古腾堡18.5里程碑2024年5月24日
卡斯廷轴子推送提交致carstingaxion/gutenberg引用的这个拉请求 2024年6月4日
…订单号61726)*启用显示按钮文本标签后,改进链接控制预览。*减小间隙。*拆下右对齐。合著者:afercia<afercia@git.wordpress.org>合著者:t-hamano<wildworks@git.wordpress.org>合著者:jasmussen<joen@git.wordpress.org>合著者:richtabor<richtabor@git.wordpress.org>
柏油vipul推送提交帕蒂尔·维普尔/古腾堡引用的这个拉请求 2024年6月17日
…订单号61726)*启用显示按钮文本标签后,改进链接控制预览。*缩小差距。*拆下右对齐。合著者:afercia<afercia@git.wordpress.org>合著者:t-hamano<wildworks@git.wordpress.org>合著者:jasmussen<joen@git.wordpress.org>合著者:richtabor<richtabor@git.wordpress.org>
免费注册 在GitHub上加入此对话.已经有帐户了吗?登录以发表评论
标签
[功能]链接编辑 链接组件(LinkControl、URLInput)和集成(RichText链接格式) [Package]块编辑器 /包/块编辑器 [类型]Bug 现有功能无法按预期工作
项目
还没有
开发

成功合并此请求可能会解决这些问题。

4名参与者