mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-27 02:22:50 +00:00
Merge pull request #14658 from overleaf/ae-pasted-font-weight
[visual] Use font-weight >= 700 as bold indicator GitOrigin-RevId: 33307a3139b596868c3460c070f51adc8617cb3a
This commit is contained in:
parent
4a157e7086
commit
2dec2a0296
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ const selectors = [
|
|||
createSelector({
|
||||
selector: '*',
|
||||
match: element =>
|
||||
parseInt(element.style.fontWeight) > 400 && hasContent(element),
|
||||
parseInt(element.style.fontWeight) >= 700 && hasContent(element),
|
||||
start: () => '\\textbf{',
|
||||
end: () => '}',
|
||||
inside: true,
|
||||
|
|
Loading…
Reference in a new issue