Editor improvements (#486)

- Make it possible to insert new paragraphs in the article body
- Make it impossible to copy formatted HTML (to make media insertion from markdown code work correctly)

TODO:

- [x] make it possible to escape draft mode
- [x] display errors from the server
- [x] button to go back to the "normal" editor
- [x] Avoid publishing placeholders
This commit is contained in:
Baptiste Gelez
2019-04-06 14:20:12 +01:00
committed by GitHub
parent 38701c8a40
commit 1f7ff62c19
20 changed files with 208 additions and 34 deletions
+8
View File
@@ -12,6 +12,10 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
# plume-front/src/editor.rs:110
msgid "Open the rich text editor"
msgstr ""
# plume-front/src/editor.rs:57
msgid "Title"
msgstr "Title"
@@ -40,6 +44,10 @@ msgstr ""
msgid "Cover"
msgstr ""
# plume-front/src/editor.rs:167
msgid "This is a draft"
msgstr ""
# plume-front/src/editor.rs:111
msgid "Publish"
msgstr ""