summaryrefslogtreecommitdiff
path: root/public/editor-files
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2017-02-02 21:19:35 -0800
committerAaron Parecki <aaron@parecki.com>2017-02-02 21:19:35 -0800
commitd00c336a55d1dd047cdb778cb44ae441ea6b842e (patch)
tree95411b6ae52c1166fe60ecfc6eb19ef6c21d1f87 /public/editor-files
parent61a80c5a2c1cd3ee6fb53602e20d6c0c832c9138 (diff)
clean up editor HTML when posting to Micropub endpoint
closes #67
Diffstat (limited to 'public/editor-files')
-rw-r--r--public/editor-files/editor.js2
-rw-r--r--public/editor-files/style.css3
2 files changed, 4 insertions, 1 deletions
diff --git a/public/editor-files/editor.js b/public/editor-files/editor.js
index 4395380..158b34f 100644
--- a/public/editor-files/editor.js
+++ b/public/editor-files/editor.js
@@ -25,7 +25,7 @@ $(function() {
}
},
embeds: {
- oembedProxy: '/editor/oembed'
+ oembedProxy: null
}
}
});
diff --git a/public/editor-files/style.css b/public/editor-files/style.css
index f0d14f9..9879c17 100644
--- a/public/editor-files/style.css
+++ b/public/editor-files/style.css
@@ -315,3 +315,6 @@ blockquote {
color: #ccc;
}
+.medium-insert-action[data-addon=embeds] {
+ display: none !important;
+}