Add label for links
This commit is contained in:
+5
-1
@@ -267,11 +267,15 @@ impl App {
|
||||
&mut self.doc,
|
||||
NodeKind::Link {
|
||||
url: "https://".to_owned(),
|
||||
label: None,
|
||||
},
|
||||
at,
|
||||
);
|
||||
self.show_inspector = true;
|
||||
self.set_status("Added a link node — set its URL in the inspector", ctx);
|
||||
self.set_status(
|
||||
"Added a link node — set its URL and display text in the inspector",
|
||||
ctx,
|
||||
);
|
||||
}
|
||||
|
||||
fn insert_group(&mut self, ctx: &Context) {
|
||||
|
||||
Reference in New Issue
Block a user