font: {
family: node.attrs.font.replace(/^.*?"(\w+)".*$/, '$1'),
size: typeof node.attrs['font-size'] === 'undefined' ? null : node.attrs['font-size'],
- anchor : typeof node.attrs['text-anchor'] === 'undefined' ? null : node.attrs['text-anchor''],
+ anchor : typeof node.attrs['text-anchor'] === 'undefined' ? null : node.attrs['text-anchor'],
}
};
}