mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-10-02 06:01:42 +00:00
Add support for webp, heic, and heif image formats
https://en.wikipedia.org/wiki/WebP https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format
This commit is contained in:
@@ -35,6 +35,9 @@ exports["image/jpg"] = ImageParser;
|
||||
exports["image/jpeg"] = ImageParser;
|
||||
exports["image/png"] = ImageParser;
|
||||
exports["image/gif"] = ImageParser;
|
||||
exports["image/webp"] = ImageParser;
|
||||
exports["image/heic"] = ImageParser;
|
||||
exports["image/heif"] = ImageParser;
|
||||
exports["image/x-icon"] = ImageParser;
|
||||
|
||||
})();
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
title: $:/config/EditorTypeMappings/
|
||||
|
||||
image/gif: bitmap
|
||||
image/webp: bitmap
|
||||
image/heic: bitmap
|
||||
image/heif: bitmap
|
||||
image/jpeg: bitmap
|
||||
image/jpg: bitmap
|
||||
image/png: bitmap
|
||||
|
||||
Reference in New Issue
Block a user