Skip to content

Commit

Permalink
fix append random text
Browse files Browse the repository at this point in the history
  • Loading branch information
aliscie committed Mar 23, 2023
1 parent 7ae4699 commit e9a7648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/src/handle_mutation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub fn handle_mutation(
log!("added");
let node = added_nodes.get(i).unwrap();
if node.node_name() == "#text" {
continue;
return None;
}
let element = node.dyn_into::<Element>().unwrap();
let parent_id = element
Expand Down

0 comments on commit e9a7648

Please sign in to comment.