This commit is contained in:
@@ -4,14 +4,9 @@
|
||||
|
||||
|
||||
|
||||
|
||||
todo: attachment control drag and drop should work on both file list and also attach side of things
|
||||
todo: wiki drag and drop image should automatically attach the image and do the linkup etc
|
||||
todo: wiki image helper, if select ok but haven't selected a attachment it errors out, ok should not be available until there is a valid image selected
|
||||
todo: attach files drag and drop helper should be expanded to include the selection tab, not just the list tab
|
||||
todo: .webp type not available to wiki image helper when attached
|
||||
this is because it's not identified as an image when it's a .webp extension
|
||||
add to image types list for MIME
|
||||
|
||||
|
||||
|
||||
todo: notification subscription form tags control looks like ordinary tags control might confuse people that they are tagging that subscription
|
||||
Maybe change the text to "Automatic filter tags" or "Only if tagged with"
|
||||
|
||||
@@ -22,6 +22,7 @@ const mimeTypes = {
|
||||
"image/gif": icons.image,
|
||||
"image/jpeg": icons.image,
|
||||
"image/png": icons.image,
|
||||
"image/webp": icons.image,
|
||||
|
||||
"application/pdf": icons.pdf,
|
||||
|
||||
@@ -73,6 +74,7 @@ const extensions = {
|
||||
jpeg: icons.image,
|
||||
jpg: icons.image,
|
||||
png: icons.image,
|
||||
webp: icons.image,
|
||||
|
||||
pdf: icons.pdf,
|
||||
|
||||
|
||||
@@ -771,6 +771,12 @@ export default {
|
||||
|
||||
let url = null;
|
||||
if (ex == 1) {
|
||||
if (
|
||||
!this.selectedImageAttachment ||
|
||||
!this.selectedImageAttachment.url
|
||||
) {
|
||||
return;
|
||||
}
|
||||
//it's an attachment
|
||||
url = this.selectedImageAttachment.url;
|
||||
if (!this.imageText) {
|
||||
|
||||
Reference in New Issue
Block a user