Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持 word-break: break-all #29

Open
temper357 opened this issue Feb 24, 2021 · 1 comment
Open

支持 word-break: break-all #29

temper357 opened this issue Feb 24, 2021 · 1 comment
Labels

Comments

@temper357
Copy link
Contributor

Flutter 对于多行文本的换行符目前是指定为空格,无法实现 css word-break: break-all 的效果在单词中间换行。

由于文本排版是在 Flutter engine 内部控制,需要 Flutter 官方提供支持 flutter/flutter#61081

Web
image

Kraken
image

@xuzhongpeng
Copy link
Member

这个是否可以通过插入0宽的字符来解决,我测试后看起来是可用的。
Characters('Microsoft PowerPoint').join('\u{200B}')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

3 participants