elm-markup icon indicating copy to clipboard operation
elm-markup copied to clipboard

Same Mark.Id for blocks after text blocks

Open b0oh opened this issue 6 years ago • 3 comments

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 avatar Sep 12 '19 12:09 b0oh

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

b0oh avatar Sep 12 '19 12:09 b0oh

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 avatar Sep 12 '19 14:09 b0oh

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

b0oh avatar Sep 12 '19 14:09 b0oh