EDIT: Sorry, wrong project, this was for the image resize module.
I haven't had time to dig into this very much so I may be missing something.
When using the widgets to align the image to the right it seems that it is not properly registered with Quill because when using getContents() and inspecting the JSON there are no attributes for aligning and thus when saving the deltas and loading them in Quill the image align setting is not retained.
EDIT: Sorry, wrong project, this was for the image resize module.
I haven't had time to dig into this very much so I may be missing something.
When using the widgets to align the image to the right it seems that it is not properly registered with Quill because when using getContents() and inspecting the JSON there are no attributes for aligning and thus when saving the deltas and loading them in Quill the image align setting is not retained.