You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a small example where I try to update a Parsed with Edit.replace where the new block contains a Mark.New.annotation. See it here: https://ellie-app.com/5KqpQwR9trLa1 --- you can click the text and see the error.
COMPILER ERROR
Oh boy, this looks like a compiler error
If you have time, could you file an issue on the elm-markup respository(https://github.com/mdgriffith/elm-markup) describing how you got here?
I can update the document with Edit.replace when I do it without the new block containing any Mark.New.annotation.
I tried to track the error and at least my guess is that it's around here in Mark.Internal.Description.
I think that because here the (recordName, inline.kind, blockKind) resolves to (Nothing, SelectText _, AnnotationNamed "link") in the case of the linked ellie example, which I take it to mean that somehow the annotation is created without its record, which matches the DescribeNothing used here.
I might completely misunderstand the code though, but the issue remains, I cannot figure out how to replace a block with another if I have annotations :(.
Let me know if I can help.
The text was updated successfully, but these errors were encountered:
I made a small example where I try to update a
Parsed
withEdit.replace
where the new block contains aMark.New.annotation
. See it here: https://ellie-app.com/5KqpQwR9trLa1 --- you can click the text and see the error.I can update the document with
Edit.replace
when I do it without the new block containing anyMark.New.annotation
.I tried to track the error and at least my guess is that it's around here in
Mark.Internal.Description
.I think that because here the
(recordName, inline.kind, blockKind)
resolves to(Nothing, SelectText _, AnnotationNamed "link")
in the case of the linked ellie example, which I take it to mean that somehow the annotation is created without its record, which matches theDescribeNothing
used here.I might completely misunderstand the code though, but the issue remains, I cannot figure out how to replace a block with another if I have annotations :(.
Let me know if I can help.
The text was updated successfully, but these errors were encountered: