aswinrajeev / blogly

Blogly is an open-source desktop application for bloggers and content writers
BSD 3-Clause "New" or "Revised" License
22 stars 2 forks source link

Default image attributes not supported in BloglyImageBlot #45

Closed aswinrajeev closed 4 years ago

aswinrajeev commented 4 years ago

In the custom image blot created for the purpose of supporting local-src attribute for images in Quill editor, existing attributes such as width are not supported.

aswinrajeev commented 4 years ago

This issue can be resolved by extending the formats/image in Quill instead of constructing a new one.

Thanks to Loa for the suggestion. Example: https://github.com/loagit/Quill-Examples-and-FAQ/blob/master/Quill%20Project%20002%20-%20Centralized%20Video/app.js#L91