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
Expected behavior:
Correct highlighting like this:
Actual behavior:
The punctuation ":" gets annotated as the attribute, the string "Mount Everest" gets annotated as punctuation and all the following "," (except the first one) as well as the closing "]" get annotated as string.
Version:
2.0.2
I have tried to find out where the bug comes from in the syntax module and have found out following:
The Delta object as well as the container returned in highlightBlot on this line contain the correct annotation. These are the children returned as the container:
I have failed to find out where it exactly goes wrong (the time between returning the correct delta and actual modifying the delta to some incorrect state) and would be extremely happy if somebody could take a look at this :).
The text was updated successfully, but these errors were encountered:
The syntax module for highlighting in quill does not work as expected. It wrongly highlights code (in this example json code).
Steps for Reproduction
Expected behavior:
Correct highlighting like this:
Actual behavior:
The punctuation ":" gets annotated as the attribute, the string "Mount Everest" gets annotated as punctuation and all the following "," (except the first one) as well as the closing "]" get annotated as string.
Version:
2.0.2
I have tried to find out where the bug comes from in the syntax module and have found out following:
The Delta object as well as the container returned in highlightBlot on this line contain the correct annotation. These are the children returned as the container:
I have failed to find out where it exactly goes wrong (the time between returning the correct delta and actual modifying the delta to some incorrect state) and would be extremely happy if somebody could take a look at this :).
The text was updated successfully, but these errors were encountered: