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
In my fork, I disabled html pasting, which causes a crash when the user tries to copy-paste lists.
This is because Aztec might encode a nil-int when performing the copy:
Hi there, first of all thanks for the great bug report, do you want to submit a PR for the fix? I will review it and approve it if all goes well. It will also be great to add unit test for this specific crash in order to prevent future regressions.
In my fork, I disabled html pasting, which causes a crash when the user tries to copy-paste lists.
This is because Aztec might encode a nil-int when performing the
copy
:AztecEditor-iOS/Aztec/Classes/TextKit/ParagraphProperty/TextList.swift
Line 83 in e0cb3c9
Now, when
pasting
, a crash occurs here because it expects a non-nil-int:AztecEditor-iOS/Aztec/Classes/TextKit/ParagraphProperty/TextList.swift
Line 64 in e0cb3c9
This can be fixed by changing that line to:
The text was updated successfully, but these errors were encountered: