This commit is contained in:
Antonio Scandurra 2023-11-14 19:42:07 +01:00
parent 428be43710
commit 48b3a90fbf
3 changed files with 37 additions and 3 deletions

View file

@ -2010,6 +2010,7 @@ impl EditorElement {
gutter_width,
em_width,
block_id,
editor_style: &self.style,
})
}
TransformBlock::ExcerptHeader {
@ -2658,6 +2659,12 @@ impl Element<Editor> for EditorElement {
}
}
impl Component<Editor> for EditorElement {
fn render(self) -> AnyElement<Editor> {
AnyElement::new(self)
}
}
// impl EditorElement {
// type LayoutState = LayoutState;
// type PaintState = ();