# 仅支持 Markdown 的编辑器：无法用加粗词在末尾强调文本行

**URL:** <https://meta.discourse.org/t/markdown-only-composer-cant-emphasize-line-of-text-with-a-bold-word-at-the-end/358800>\
**Category:** Bug\
**Tags:** composer\
**Created:** [2025年三月25日 17:49 UTC](https://meta.discourse.org/t/markdown-only-composer-cant-emphasize-line-of-text-with-a-bold-word-at-the-end/358800 "2025-03-25T17:49:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![lindsey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lindsey/32/318210_2.png) [@lindsey](https://meta.discourse.org/u/lindsey)\
**Post date:** [2025年三月25日 17:49 UTC](https://meta.discourse.org/t/markdown-only-composer-cant-emphasize-line-of-text-with-a-bold-word-at-the-end/358800/1 "2025-03-25T17:49:34Z")

</div>

## ℹ 概述

在仅限 Markdown 的编辑器中（即非[我们目前正在 Meta 上测试的新编辑器模式](https://meta.discourse.org/t/test-our-new-composer-on-meta/352347)），当尝试将一行文本设为斜体时，如果该文本的最后一个单词是粗体，则该行的首字母会被删除，末尾的 `*` 也会被删除，并且该行不会转换为斜体。

## 🚶‍♀️ 复现步骤

1. 在仅限 Markdown 的编辑器中，写一行最后一个单词为粗体的文本，例如：

```markdown
This is a super edge case where the last word in a sentence is **bolded.**

```

1. 选中该行并使用 CMD+I 或工具栏快捷键将其设为斜体。

## ✅ 预期结果

该行应显示为：

```markdown
*This is a super edge case where the last word in a sentence is **bolded.***

```

## ❌ 观察到的结果

该行显示为：

```markdown
his is a super edge case where the last word in a sentence is **bolded.*

```

## 📚 其他信息

---

_[View the full topic](https://meta.discourse.org/t/markdown-only-composer-cant-emphasize-line-of-text-with-a-bold-word-at-the-end/358800)._
