mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
Fix balloon view position
This commit is contained in:
@@ -114,7 +114,9 @@ export function getBalloonPositionData( editor ) {
|
||||
return {
|
||||
target: view.domConverter.viewToDom( selectedElement ),
|
||||
positions: [
|
||||
defaultPositions.southArrowNorth
|
||||
defaultPositions.southArrowNorth,
|
||||
defaultPositions.southArrowNorthWest,
|
||||
defaultPositions.southArrowNorthEast,
|
||||
]
|
||||
};
|
||||
}
|
||||
@@ -123,7 +125,9 @@ export function getBalloonPositionData( editor ) {
|
||||
return {
|
||||
target: view.domConverter.viewRangeToDom( viewDocument.selection.getFirstRange() ),
|
||||
positions: [
|
||||
defaultPositions.southArrowNorth
|
||||
defaultPositions.southArrowNorth,
|
||||
defaultPositions.southArrowNorthWest,
|
||||
defaultPositions.southArrowNorthEast,
|
||||
]
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user