Skip to content

Conversation

@tangkaikk
Copy link
Contributor

Re: #

Changelog


Continuous Integration

This pull request:

  • needs automatic test cases check.

    Manual trigger with @cocos-robot run test cases afterward.

  • does not change any runtime related code or build configuration

    If any reviewer thinks the CI checks are needed, please uncheck this option, then close and reopen the issue.


Compatibility Check

This pull request:

  • changes public API, and have ensured backward compatibility with deprecated features.
  • affects platform compatibility, e.g. system version, browser version, platform sdk version, platform toolchain, language version, hardware compatibility etc.
  • affects file structure of the build package or build configuration which requires user project upgrade.
  • introduces breaking changes, please list all changes, affected features and the scope of violation.

@tangkaikk tangkaikk changed the title RichText wrap the wrong line, then exceed 2048 will show correctly. RichText wrap the wrong line Oct 23, 2025
@github-actions
Copy link

github-actions bot commented Oct 23, 2025

Code Size Check Report

Wechat (WASM) Before After Diff
2D Empty (legacy pipeline) 1009805 bytes 1009805 bytes ✅ 0 bytes
2D All (legacy pipeline) 2675364 bytes 2675285 bytes 👍 -79 bytes
2D All (new pipeline) 2767100 bytes 2767021 bytes 👍 -79 bytes
(2D + 3D) All 10024070 bytes 10023991 bytes 👍 -79 bytes
Web (WASM + ASMJS) Before After Diff
(2D + 3D) All 16843132 bytes 16843053 bytes 👍 -79 bytes

Interface Check Report

This pull request does not change any public interfaces !

@star-e
Copy link
Contributor

star-e commented Oct 23, 2025

@cocos-robot run test cases

partStringArr.push(...thisPartSplitResultArr);
// _updateRichTextWithMaxWidth function will correct the text again.
partStringArr.push(text);
return partStringArr;
Copy link
Contributor

Choose a reason for hiding this comment

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

What about the rest of the multilineTexts? Some texts are skipped.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Have corrected this situation.

@github-actions
Copy link

@tangkaikk, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS FAIL rich-text-long-string-truncation
ios PASS PASS FAIL rich-text-long-string-truncation
mac PASS PASS FAIL rich-text-long-string-truncation

@github-actions
Copy link

@tangkaikk, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
windows PASS PASS FAIL rich-text-long-string-truncation
android PASS PASS FAIL rich-text-long-string-truncation
wechatgame PASS PASS FAIL rich-text-long-string-truncation

@star-e
Copy link
Contributor

star-e commented Oct 24, 2025

@cocos-robot run test cases

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.

2 participants