1
0
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:
Jermolene 2013-12-24 09:07:25 +00:00
parent 7db31dc138
commit ad6bf4f9c5
3 changed files with 6 additions and 1 deletions
core
docs/types
modules
parsers
widgets

@ -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"
};
/*