Skip to content

Commit

Permalink
Registered .svg to the HTML editor
Browse files Browse the repository at this point in the history
  • Loading branch information
madskristensen committed Jun 27, 2014
1 parent 3ec9eaf commit 82fcfa9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class SvgContentTypeDefinition
/// </summary>
[Export(typeof(ContentTypeDefinition))]
[Name(SvgContentType)]
[BaseDefinition("xml")]
[BaseDefinition("htmlx")]
public ContentTypeDefinition ISvgContentType { get; set; }

[Export(typeof(FileExtensionToContentTypeDefinition))]
Expand Down
4 changes: 4 additions & 0 deletions EditorExtensions/registry.pkgdef
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
[$RootKey$\Languages\File Extensions\.mdwn]
@="{9bbfd173-9770-47dc-b191-651b7ff493cd}"

[$RootKey$\Languages\File Extensions\.svg]
@="{9bbfd173-9770-47dc-b191-651b7ff493cd}"

[$RootKey$\Editors\{40d31677-cbc0-4297-a9ef-89d907823a98}\Extensions]
"md"=dword:32
"mdown"=dword:32
Expand All @@ -24,6 +27,7 @@
"mkdn"=dword:32
"mdwn"=dword:32
"mmd"=dword:32
"svg"=dword:32

// CSS bundles
//[$RootKey$\Projects\{E24C65DC-7377-472b-9ABA-BC803B73C61A}\RelatedFiles\.css.bundle]
Expand Down

0 comments on commit 82fcfa9

Please sign in to comment.