mirror of
https://github.com/typst/typst
synced 2025-05-22 13:05:29 +08:00
Remove place.flush
from global scope (#4537)
This commit is contained in:
parent
3c22902d6c
commit
36042ff222
@ -106,7 +106,6 @@ pub fn define(global: &mut Scope) {
|
|||||||
global.define_elem::<ColumnsElem>();
|
global.define_elem::<ColumnsElem>();
|
||||||
global.define_elem::<ColbreakElem>();
|
global.define_elem::<ColbreakElem>();
|
||||||
global.define_elem::<PlaceElem>();
|
global.define_elem::<PlaceElem>();
|
||||||
global.define_elem::<FlushElem>();
|
|
||||||
global.define_elem::<AlignElem>();
|
global.define_elem::<AlignElem>();
|
||||||
global.define_elem::<PadElem>();
|
global.define_elem::<PadElem>();
|
||||||
global.define_elem::<RepeatElem>();
|
global.define_elem::<RepeatElem>();
|
||||||
|
@ -46,7 +46,7 @@ pub struct PlaceElem {
|
|||||||
/// Floating elements are positioned at the top or bottom of the page,
|
/// Floating elements are positioned at the top or bottom of the page,
|
||||||
/// displacing in-flow content. They are always placed in the in-flow
|
/// displacing in-flow content. They are always placed in the in-flow
|
||||||
/// order relative to each other, as well as before any content following
|
/// order relative to each other, as well as before any content following
|
||||||
/// a later [`flush`] element.
|
/// a later [`place.flush`] element.
|
||||||
///
|
///
|
||||||
/// ```example
|
/// ```example
|
||||||
/// #set page(height: 150pt)
|
/// #set page(height: 150pt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user