mind-elixir-core
mind-elixir-core copied to clipboard
Can you support the display of pictures?
Very good and beautiful tool.Unfortunately, images are not supported
It may not support in the short term 😂
It may not support in the short term 😂
That's ok.Hope it can support in the future.👍
<img src="img/url/here">
find the node and attach it at your own risk... thinking of it more
Possibly a link-like functionality with the IMG opening in a modal.
Done
nodeData = {
topic: 'node topic',
id: 'bd1c24420cd2c2f5',
style: { fontSize: '32', color: '#3298db', background: '#ecf0f1' },
parent: null,
tags: ['Tag'],
icons: ['😀'],
hyperLink: 'https://github.com/ssshooter/mind-elixir-core',
image: {
url: 'https://raw.githubusercontent.com/ssshooter/mind-elixir-core/master/images/logo.png', // required
// you need to query the height and width of the image and calculate the appropriate value to display the image
height: 90, // required
width: 300, // required
},
children: [
{
topic: 'child',
id: 'xxxx',
// ...
},
],
}