Fix Cast
implementation of LayoutNode
This commit is contained in:
parent
84bd3454df
commit
64f8f981c2
@ -689,6 +689,8 @@ castable! {
|
||||
castable! {
|
||||
LayoutNode,
|
||||
Expected: "content",
|
||||
Value::None => Self::default(),
|
||||
Value::Str(text) => Content::Text(text).pack(),
|
||||
Value::Content(content) => content.pack(),
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user