mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #14163 from overleaf/ae-maketitle-empty-lines
[visual] Preserve empty lines after maketitle GitOrigin-RevId: c5f040567e220069f96d6962d8bd40334c9f68c8
This commit is contained in:
parent
3ae32f8332
commit
32d5c99cdc
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ export const atomicDecorations = (options: Options) => {
|
|||
if (shouldDecorate(state, nodeRef)) {
|
||||
const line = state.doc.lineAt(nodeRef.from)
|
||||
const from = extendBackwardsOverEmptyLines(state.doc, line)
|
||||
const to = extendForwardsOverEmptyLines(state.doc, line)
|
||||
const { to } = state.doc.lineAt(nodeRef.to)
|
||||
|
||||
if (shouldDecorate(state, { from, to })) {
|
||||
decorations.push(
|
||||
|
|
Loading…
Reference in a new issue