Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Same Mark.Id for blocks after text blocks #33

Open
b0oh opened this issue Sep 12, 2019 · 3 comments
Open

Same Mark.Id for blocks after text blocks #33

b0oh opened this issue Sep 12, 2019 · 3 comments

Comments

@b0oh
Copy link

b0oh commented Sep 12, 2019

When using Mark.withId I found that it gives same id's for blocks that coming after text blocks.
Example is here: https://ellie-app.com/6DnZGxT3Rvda1

elm=0.19
elm-markup=3.0.1

@b0oh
Copy link
Author

b0oh commented Sep 12, 2019

In example we can see that two blocks have id=7, and the next two have id=9.

@b0oh
Copy link
Author

b0oh commented Sep 12, 2019

Actually, in example, even if you replace text blocks with

|> Paragraph
    Lorem ipsum dolor

and add such a block, it still will produce same result with repeating id's.

@b0oh
Copy link
Author

b0oh commented Sep 12, 2019

New example: https://ellie-app.com/6DrkKzmq3p6a1

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

No branches or pull requests

1 participant