upd: prompt for confirmation on external links
This commit is contained in:
parent
e21e2530e6
commit
d2564836ed
4 changed files with 28 additions and 3 deletions
|
|
@ -245,6 +245,7 @@ export function confirm(props: {
|
|||
text?: string;
|
||||
okText?: string;
|
||||
cancelText?: string;
|
||||
plain?: boolean;
|
||||
}): Promise<{ canceled: boolean }> {
|
||||
return new Promise(resolve => {
|
||||
const { dispose } = popup(MkDialog, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue