kopia lustrzana https://github.com/miklobit/TiddlyWiki5
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.print-window-tiddler
rodzic
7db31dc138
commit
ad6bf4f9c5
|
@ -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/png"] = ImageParser;
|
||||||
exports["image/gif"] = ImageParser;
|
exports["image/gif"] = ImageParser;
|
||||||
exports["application/pdf"] = ImageParser;
|
exports["application/pdf"] = ImageParser;
|
||||||
|
exports["image/x-icon"] = ImageParser;
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,8 @@ var editorTypeMappings = {
|
||||||
"image/jpg": "bitmap",
|
"image/jpg": "bitmap",
|
||||||
"image/jpeg": "bitmap",
|
"image/jpeg": "bitmap",
|
||||||
"image/gif": "bitmap",
|
"image/gif": "bitmap",
|
||||||
"image/png": "bitmap"
|
"image/png": "bitmap",
|
||||||
|
"image/x-icon": "bitmap"
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Ładowanie…
Reference in New Issue