diff --git a/src/components/Editing/CustomEditor.tsx b/src/components/Editing/CustomEditor.tsx index 960aa784ee7ae570dc664ea112cd52aae7ae6b0e..0018458f9da3009b2314ac694a6be6747ae87d1d 100644 --- a/src/components/Editing/CustomEditor.tsx +++ b/src/components/Editing/CustomEditor.tsx @@ -30,11 +30,6 @@ const CustomEditor: React.FC<CustomEditorProps> = ({ const alt = data.alt ? data.alt : '' return `<p style="text-align:${textAlign};"><img src="${data.src}" alt="${alt}" style="height: ${data.height};width: ${data.width}"/></p>` } - if (type === 'LINK') { - return `<a href=${data.href ? data.href : data.url} title=${ - data.title - }>${data.title}</a>` - } } return state.getCurrentContent().hasText() ? draftToHtml(