mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
editor: disallow inserting empty embed urls/code
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
@@ -73,6 +73,7 @@ export function EmbedPopup(props: EmbedPopupProps) {
|
||||
onClose={() => onClose()}
|
||||
action={{
|
||||
title: strings.save(),
|
||||
disabled: src.trim() === "",
|
||||
onClick: () => {
|
||||
setError(null);
|
||||
let _src = src;
|
||||
|
||||
Reference in New Issue
Block a user