Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
Added icon font for editor
Browse files Browse the repository at this point in the history
  • Loading branch information
klan committed Mar 7, 2017
1 parent 945a303 commit 4655719
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "markdown-editor",
"main": "markdown-editor.html",
"dependencies": {
"components-font-awesome": "^4.7.0",
"demo-content": "kriss-kross-io/demo-content#^0.0.4",
"marked-element": "PolymerElements/marked-element#^1.2.0",
"medium-editor-markdown": "IonicaBizau/medium-editor-markdown#^2.6.1",
Expand Down
7 changes: 7 additions & 0 deletions markdown-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,14 @@
'orderedlist',
'removeFormat'
],
static: true,
sticky: true
},
paste: {
forcePlainText: true
},
disableExtraSpaces: true,
buttonLabels: 'fontawesome',
targetBlank: true,
placeholder: false
}).subscribe('editableKeypress', function(event, element) {
Expand Down
1 change: 1 addition & 0 deletions medium-editor-markdown-import.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!-- <link rel="import" href="editor-styles.html"> -->
<link rel="stylesheet" href="../medium-editor/dist/css/medium-editor.min.css">
<link rel="stylesheet" href="../medium-editor/dist/css/themes/flat.min.css">
<link rel="stylesheet" href="../components-font-awesome/css/font-awesome.min.css">

<script src="../medium-editor/dist/js/medium-editor.js"></script>
<script src="../medium-editor-markdown/dist/me-markdown.standalone.min.js"></script>

0 comments on commit 4655719

Please sign in to comment.