Fix failing test
This commit is contained in:
parent
469b05684f
commit
eb74ad7caa
2 changed files with 5 additions and 1 deletions
|
@ -1550,7 +1550,7 @@ mod tests {
|
|||
block_id: ix,
|
||||
editor_style: &editor::EditorStyle::default(),
|
||||
})
|
||||
.element_id()?
|
||||
.inner_id()?
|
||||
.try_into()
|
||||
.ok()?,
|
||||
|
||||
|
|
|
@ -463,6 +463,10 @@ impl AnyElement {
|
|||
pub fn into_any(self) -> AnyElement {
|
||||
AnyElement::new(self)
|
||||
}
|
||||
|
||||
pub fn inner_id(&self) -> Option<ElementId> {
|
||||
self.0.element_id()
|
||||
}
|
||||
}
|
||||
|
||||
impl Element for AnyElement {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue