Skip to content

Commit

Permalink
added hyperlink
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiarba committed Mar 28, 2021
1 parent f5500ce commit cf197cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/src/utils/addLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ const addLink = {
setEditorState(RichUtils.toggleLink(editorState, selection, null));
return 'handled';
}
console.log(link);

const content = editorState.getCurrentContent();
const contentWithEntity = content.createEntity('LINK', 'MUTABLE', {
Expand Down

0 comments on commit cf197cd

Please sign in to comment.