ensure asatt=1 is aded to image download URL to set Content-Disposition: attachment

This commit is contained in:
or-else
2023-12-21 16:06:19 -08:00
parent 40916e2fc3
commit f932b973f8
10 changed files with 65 additions and 10 deletions
+1 -1
View File
@@ -2359,7 +2359,7 @@ Drafty.tagName = function (style) {
return FORMAT_TAGS[style] && FORMAT_TAGS[style].html_tag;
};
Drafty.attrValue = function (style, data) {
if (data && DECORATORS[style]) {
if (data && DECORATORS[style] && DECORATORS[style].props) {
return DECORATORS[style].props(data);
}
return undefined;