Skip to content

Commit f9554a9

Browse files
committed
Update maintainer email
1 parent f482298 commit f9554a9

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (C) 2018 by Marijn Haverbeke <[email protected]>, Adrian
3+
Copyright (C) 2018 by Marijn Haverbeke <[email protected]>, Adrian
44
Heine <[email protected]>, and others
55

66
Permission is hereby granted, free of charge, to any person obtaining a copy

demo/demo.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import {EditorView, basicSetup} from "codemirror"
2-
import {javascript} from "@codemirror/lang-javascript"
1+
import {basicSetup, EditorView} from "codemirror"
2+
import {markdown} from "@codemirror/lang-markdown"
3+
import {placeholder} from "@codemirror/view"
34

45
;(window as any).view = new EditorView({
5-
doc: 'console.log("Hello world")',
6-
extensions: [
7-
basicSetup,
8-
javascript(),
9-
],
10-
parent: document.querySelector("#editor")!
6+
doc: "",
7+
extensions: [basicSetup, markdown(), placeholder("Hello")],
8+
parent: document.body
119
})

demo/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<title>CM6 demo</title>
55

66
<style>
7-
.cm-editor { height: 300px; border: 1px solid #ddd}
7+
.cm-editor { height: 300px; border: 1px solid #ddd;}
8+
.cm-content { line-height: 3em; }
89
.cm-scroller { overflow: auto; }
910
</style>
1011

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"prepare": "node bin/cm.js build",
77
"dev": "node bin/cm.js devserver"
88
},
9-
"author": "Marijn Haverbeke <[email protected]>",
9+
"author": "Marijn Haverbeke <[email protected]>",
1010
"license": "MIT",
1111
"devDependencies": {
1212
"@codemirror/buildhelper": "^0.1.5",

0 commit comments

Comments
 (0)