Skip to content

feat(#1235): convert headings and text from the selection toolbar - #1307

Merged
codexu merged 1 commit into
codexu:devfrom
jinchuntan:fix/selection-heading-conversion-1235
Oct 24, 2026
Merged

codexu merged 1 commit into
codexu:devfrom
jinchuntan:fix/selection-heading-conversion-1235

Conversation

@jinchuntan

Copy link
Copy Markdown
Contributor

Closes #1235.

Add a block type selector to the selection toolbar. It supports text and headings H1–H6, shows the current type and disables conversions that the editor cannot apply. It reuses the existing translations in every supported language.

Tested the actual toolbar and TipTap editor through all six heading levels and back to text. Bold formatting and an unselected paragraph remain intact. The same check fails on dev because the control is missing. Lint and all 5 existing Node tests pass. The production build passes with #1303 applied temporarily.

Assisted by Codex.

@codexu
codexu merged commit 3b90d8e into codexu:dev Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] 标题与正文互相转换

2 participants