Follow-up (#1362)
This commit is contained in:
parent
2889920e35
commit
b7d26b4853
@ -268,7 +268,7 @@ const TextFormatter: FC<OwnProps> = ({
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
function handleLinkUrlConfirm() {
|
function handleLinkUrlConfirm() {
|
||||||
const formattedLinkUrl = linkUrl.includes('://') ? linkUrl : `http://${linkUrl}`;
|
const formattedLinkUrl = encodeURI(linkUrl.includes('://') ? linkUrl : `http://${linkUrl}`);
|
||||||
|
|
||||||
if (isEditingLink) {
|
if (isEditingLink) {
|
||||||
const element = getSelectedElement();
|
const element = getSelectedElement();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user