Skip to content

Conversation

@Pistacchione
Copy link
Contributor

Hi,

I made a small change to the css to display multi root elements correctly.
Thanks for this great components!

Matteo

Matteo Benin and others added 5 commits January 16, 2018 17:49
if (typeof newNode === 'string') {
addnode = {title: newNode}
addnode = {
id: (Math.random().toString(36)+'00000000000000000').slice(2, 7), // Generate random id of 5 characters
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if u use a random id, then no initialization ID how to deal with?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the ID may exist may not exist, then the existence of id here is what is the meaning?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tend to the user's own incoming ID, and you

@Pistacchione
Copy link
Contributor Author

Sorry, this pull request include also the generation of ID. I will made a brand new pull request with only che CSS part

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants