From d00c336a55d1dd047cdb778cb44ae441ea6b842e Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Thu, 2 Feb 2017 21:19:35 -0800 Subject: clean up editor HTML when posting to Micropub endpoint closes #67 --- public/editor-files/editor.js | 2 +- public/editor-files/style.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'public/editor-files') 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; +} -- cgit v1.2.3