diff --git a/bower.json b/bower.json index 43f9eb1..b5576fa 100644 --- a/bower.json +++ b/bower.json @@ -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", diff --git a/markdown-editor.html b/markdown-editor.html index 9f5b7e5..f6c5756 100644 --- a/markdown-editor.html +++ b/markdown-editor.html @@ -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) { diff --git a/medium-editor-markdown-import.html b/medium-editor-markdown-import.html index edc1a67..6918040 100644 --- a/medium-editor-markdown-import.html +++ b/medium-editor-markdown-import.html @@ -1,6 +1,7 @@ +