You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(run-plugin): narrow accept/reject guard to actually-removed keys (#2786)
The previous fix skipped the SD-2517 lost-keys preservation for every inline
key whenever an accept/reject transaction ran. That was too broad: in imported
docs where explicit w:rPr keys may drop out of computed inline props via
style-equivalence, an unrelated accept/reject on the same run stripped those
keys from runProperties, losing inline formatting on export.
Collect the specific keys removed in this batch instead — mark type name for
standalone marks, and each truthy attr key for removed textStyle marks — and
only block preservation for those keys. Unrelated inline keys on the same run
keep their import-time fallback.
Replaces the blanket !isAcceptReject guard introduced in 4537381.
Co-authored-by: Caio Pizzol <caiopizzol@icloud.com>
0 commit comments