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

Fix style being missed on patchDocument #2387

Merged
merged 2 commits into from
Nov 1, 2023

Commits on Oct 18, 2023

  1. Fix style being missed on patchDocument

    There were scenarios in which patching a document would result in loss
    of style for the template runs and, possibly, their right-adjacent run
    as well (post-splitting). That was due to the run style elements not
    being added to the newly created runs.
    
    This commit addresses this issue by introducing a new, optional, flag
    for the `patchDocument` function: `keepOriginalStyles`. It defaults to
    `false` (current behavior) and, when `true`, ensures that there is no
    loss of styling.
    
    This should address dolanmiu#2293.
    wilkmaia committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    a89ee46 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Fix coverage

    dolanmiu committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    d23b0d0 View commit details
    Browse the repository at this point in the history