-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.manifest
51 lines (43 loc) · 1.35 KB
/
package.manifest
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
propertyEditors: [
{
name: "Simple Markdown Editor",
alias: "rhs.simplemark",
editor: {
view: "~/app_plugins/simplemark/simplemark.html"
},
prevalues: {
fields: [
{
label: "Colored Syntax",
description: "Toggle colored syntax",
key: "coloredSyntax",
view: "boolean"
},
{
label: "Default value",
description: "If value is blank, the editor will show this",
key: "defaultValue",
view: "textarea"
}
]
},
defaultConfig: {
defaultValue: "#Simple Markdown
####A clean, simple markdown editor for Umbraco v7+
`Because markdown should look pretty`
created with the [Ghost Markdown Editor](http:https:\/\/github.com/timsayshey)
Bulletpoints:
* Syntax coloring (optional)
* Live preview
* Upload or insert images from Media
---
#####Pro tip: Grab the MarkdownHelper from NuGet
@Html.Markdown(Umbraco.Field(propertyAlias).ToString())"
}
}
],
javascript:[
"~/app_plugins/simplemark/simplemark.controller.js"
]
}