fix: embed provider name in error message
This commit is contained in:
parent
5fece5fc68
commit
e876214eeb
1 changed files with 3 additions and 1 deletions
|
|
@ -56,7 +56,9 @@ export default function EmbedView(props: NodeViewProps) {
|
||||||
updateAttributes({ src: data.url });
|
updateAttributes({ src: data.url });
|
||||||
} else {
|
} else {
|
||||||
notifications.show({
|
notifications.show({
|
||||||
message: t("Invalid {{provider}} embed link", { provider: provider }),
|
message: t("Invalid {{provider}} embed link", {
|
||||||
|
provider: embedProvider.name,
|
||||||
|
}),
|
||||||
position: "top-right",
|
position: "top-right",
|
||||||
color: "red",
|
color: "red",
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue