mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-25 12:56:56 +00:00
Extend support for .ico files
Now we can parse image/x-icon tiddlers for display, and provide an entry for them in the type dropdown.
This commit is contained in:
parent
7db31dc138
commit
ad6bf4f9c5
core
3
core/docs/types/image_x-icon.tid
Normal file
3
core/docs/types/image_x-icon.tid
Normal file
@ -0,0 +1,3 @@
|
||||
title: $:/docs/types/image/x-icon
|
||||
description: ICO format icon file
|
||||
name: image/x-icon
|
@ -38,6 +38,7 @@ exports["image/jpeg"] = ImageParser;
|
||||
exports["image/png"] = ImageParser;
|
||||
exports["image/gif"] = ImageParser;
|
||||
exports["application/pdf"] = ImageParser;
|
||||
exports["image/x-icon"] = ImageParser;
|
||||
|
||||
})();
|
||||
|
||||
|
@ -41,7 +41,8 @@ var editorTypeMappings = {
|
||||
"image/jpg": "bitmap",
|
||||
"image/jpeg": "bitmap",
|
||||
"image/gif": "bitmap",
|
||||
"image/png": "bitmap"
|
||||
"image/png": "bitmap",
|
||||
"image/x-icon": "bitmap"
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user