Files
48eca6f39a docs: explain that wordWrap lets lines break inside words (#3936)
* docs: explain that wordWrap lets lines break inside words

The option writes <w:wordWrap w:val="0"/>, Word's "Allow Latin text to
wrap in the middle of a word", so Word also breaks Korean words when it
is set. Say so in the option's JSDoc and the demo comment, as
docs/usage/layout.md already does.

* docs: note that an unset wordWrap keeps the style's setting

* docs: limit the wordWrap default note to space-separated text

* docs: say that wordWrap breaks only the words of East Asian runs

w:wordWrap w:val="0" lets Word break inside the words of runs in an East
Asian font or language, as docs/usage/layout.md and docx/layout's
isEastAsianRun have it. Words in other runs, such as English in Calibri,
still break at their spaces. The demo's comment says so too, and that an
unset wordWrap keeps words whole only when the paragraph's style doesn't
set it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Dolan Miu <dolan_miu@hotmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 16:59:07 +08:00
..
2023-12-30 02:23:54 +00:00