mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 19:41:33 +02: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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user