summaryrefslogtreecommitdiff
path: root/views/editor.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2015-09-08 22:55:56 -0700
committerAaron Parecki <aaron@parecki.com>2015-09-08 22:55:56 -0700
commit2bb18a66be585384acd5a4068a4311a976e28c57 (patch)
tree1f2dc711454a24d76f8004836419ed035f4e22f8 /views/editor.php
parent881550cac72bfcc2e7551fe13288ea8a1d27ca34 (diff)
add banner to opt in to html content change
Diffstat (limited to 'views/editor.php')
-rw-r--r--views/editor.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/editor.php b/views/editor.php
index f5fd5f6..ac0f429 100644
--- a/views/editor.php
+++ b/views/editor.php
@@ -53,6 +53,14 @@
<div class="clear"></div>
</div>
+<div class="micropub-html-warning hidden"><div>
+ <button class="btn btn-default" id="micropub-html-btn">Upgrade me!</button>
+ <b>Upcoming change!</b>
+ The Micropub spec now requires HTML content be sent as a nested object, <code>content[html]=&lt;b&gt;example&lt;/b&gt;</code>.
+ You can <a href="http://indiewebcamp.com/Micropub-brainstorming#HTML_Escaping">read more about the change here</a>.
+ When you are ready to receive the content as an object, click the button to switch.
+</div></div>
+
<div class="publish-dropdown hidden">
<div class="arrow"></div>
<div class="dropdown-content action-publish">