Skip to content

Commit eed7720

Browse files
authored
Merge pull request #3 from revathskumar/fix-gihub-classname-change
Fixes #2 : update the css classname of editor
2 parents cc07894 + 8cda34d commit eed7720

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gist_markdown_preview.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const byId = d.getElementById.bind(d);
55

66
const togglePreview = cqs => {
77
const article = cqs('.js-gist-preview');
8-
const editor = cqs('.cm-s-github');
8+
const editor = cqs('.CodeMirror');
99
const previewBtn = cqs('.js-gist-preview-btn');
1010

1111
if (editor.style.display === 'none') {

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"Gist Markdown Preview",
3-
"version":"2.0.1",
3+
"version":"2.0.2",
44
"description":"helps to preview the markdown while creating a markdown gist",
55
"manifest_version": 2,
66
"icons":{

0 commit comments

Comments
 (0)