From 46557193a910bf94267dd072f3bf17d67ae8b849 Mon Sep 17 00:00:00 2001 From: Klaus Nielsen Date: Tue, 7 Mar 2017 22:28:28 +0100 Subject: [PATCH] Added icon font for editor --- bower.json | 1 + markdown-editor.html | 7 +++++++ medium-editor-markdown-import.html | 1 + 3 files changed, 9 insertions(+) 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 @@ +