Skip to content

chore: update version to 6.6.8 - #678

Merged
lzwind merged 1 commit into
linuxdeepin:masterfrom
pengfeixx:fix/markdown-link-text-wrap
Oct 21, 2026
Merged

lzwind merged 1 commit into
linuxdeepin:masterfrom
pengfeixx:fix/markdown-link-text-wrap

Conversation

@pengfeixx

@pengfeixx pengfeixx commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Bump version to 6.6.8.

Changes since 6.6.7

  • fix: wrap overlong link text in markdown preview

Root cause

In the markdown web preview, CJK plain text wraps naturally (every character
is a break opportunity), but an overlong URL / link text is one unbreakable
Latin token, so it never wrapped and overflowed the 800px content column
horizontally instead (plain text wraps, link text does not).

Fix

Declare overflow-wrap: anywhere once on .milkdown .ProseMirror in
theme.css; the property is inherited, so it covers links inside
paragraphs / headings / lists / blockquotes. anywhere only forces a break
when the line has no other break opportunity, so normal CJK/Latin word
wrapping is unchanged. Code blocks and KaTeX keep white-space: pre /
nowrap and are unaffected (code blocks scroll horizontally by design).

build/style.css is synced (KaTeX bundle + theme.css verbatim, same manual
sync as 52daf5c).

Verification

Loaded two structurally identical pages (800px milkdown content column, long
CJK text + 400-char URL) with and without the rule in a Chromium browser:

  • without rule: doc.scrollWidth=3146 > viewport 900 → link overflows (bug reproduced)
  • with rule: doc.scrollWidth=900 = viewport 900 → link wraps, no horizontal scroll

What's included

  • src/editor/markdown/web/theme.css / build/style.css: overflow-wrap fix
  • debian/changelog: new 6.6.8 entry
  • linglong.yaml: package version 6.6.7.1 → 6.6.8.1

Log: bump version to 6.6.8

Summary by Sourcery

Release version 6.6.8 with improved markdown link wrapping and updated package metadata.

Bug Fixes:

  • Prevent overlong URLs and link text from overflowing the markdown preview content area by enabling wrapping for unbreakable text.

Build:

  • Update the Linglong package version from 6.6.7.1 to 6.6.8.1.

Chores:

  • Add the 6.6.8 release entry to the Debian changelog.

- bump version to 6.6.8

Log : bump version to 6.6.8
@sourcery-ai

sourcery-ai Bot commented Oct 21, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Bumps the project to version 6.6.8 and fixes horizontal overflow from long unbreakable markdown link text by applying an inherited overflow-wrap: anywhere rule to the preview editor, with the built stylesheet synchronized and package metadata updated.

Flow diagram for wrapping long markdown links

flowchart LR
    Markdown[Markdown preview content] --> ProseMirror[.milkdown .ProseMirror]
    ProseMirror --> Wrap[overflow-wrap: anywhere]
    Wrap --> Link[Long URL or link text wraps]
    Link --> Column[Content column avoids horizontal overflow]
Loading

File-Level Changes

Change Details Files
Prevent overlong markdown links from causing horizontal overflow in the web preview.
  • Add inherited overflow-wrap: anywhere to the ProseMirror root so long URLs wrap across supported block contexts.
  • Keep code-block and KaTeX whitespace behavior unchanged through their existing overrides.
  • Synchronize the generated stylesheet with the source theme change.
src/editor/markdown/web/theme.css
src/editor/markdown/web/build/style.css
Update packaging metadata for the 6.6.8 release.
  • Add the 6.6.8 changelog entry.
  • Bump the Linglong package version from 6.6.7.1 to 6.6.8.1.
debian/changelog
linglong.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

TAG Bot

TAG: 6.6.8
EXISTED: no
DISTRIBUTION: unstable

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lzwind, pengfeixx

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lzwind
lzwind merged commit 0888550 into linuxdeepin:master Oct 21, 2026
16 of 18 checks passed
@pengfeixx
pengfeixx deleted the fix/markdown-link-text-wrap branch October 21, 2026 06:14
@deepin-bot

deepin-bot Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

TAG Bot

✅ Tag created successfully

📋 Tag Details
  • Tag Name: 6.6.8
  • Tag SHA: 3cc1c3ef0c83a3a2cd068a191b7614806935e57e
  • Commit SHA: 0888550ea4fc7c9a40fb0a9a1f6e555c8ae9564d
  • Tag Message:
    Release deepin-editor 6.6.8
    
    
  • Tagger:
    • Name: pengfeixx
  • Distribution: unstable

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.

3 participants