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
When implementing any of the custom functions in the config, such as the customTagAttributes and returning classes as below, it replaces the default classes added by quill. How can I change this so it appends the custom class to the Quill classes instead?
let converter = new QuillDeltaToHtmlConverter(data, {
customTagAttributes: (op) => {
if (op.attributes.customAttribute) {
return {
class: "customClassForTheCustomAttribute`,
};
}
},
});
The text was updated successfully, but these errors were encountered:
Did you ever get this working? I became curious about this wanting to implement my own srcset attribute for images but don't see this callback actually running at any point.
When implementing any of the custom functions in the config, such as the
customTagAttributes
and returning classes as below, it replaces the default classes added by quill. How can I change this so it appends the custom class to the Quill classes instead?The text was updated successfully, but these errors were encountered: