diff --git a/src/editor/js/components/editor.tsx b/src/editor/js/components/editor.tsx index 9c0dd670776a45a96b4036b78942ae37e002ddf8..5ae9121eae0a5f35cf8972387b23d9fcb2ae19e5 100644 --- a/src/editor/js/components/editor.tsx +++ b/src/editor/js/components/editor.tsx @@ -264,7 +264,7 @@ export class Editor extends React.PureComponent<propTypes, stateTypes> { const imageSize = 12; if (node.icon !== undefined) { const img = new Image(); - img.src = node.icon.link; + img.src = node.icon; ctx.drawImage( img,