mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02: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:
committed by
Copybot
parent
4a157e7086
commit
2dec2a0296
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user