New editor (#458)

With this PR, when JS is activated and WASM supported, the article editor will be dynamically replaced with `contenteditable`s elements. This makes the editing interface simpler and less like a regular form. It will also allow us to easily add visual formatting with native browser APIs (and to insert images or videos directly). Here is a little demo:

![peek 05-03-2019 16-12](https://user-images.githubusercontent.com/16254623/53815536-1dc05680-3f62-11e9-94d3-b363ed84eb97.gif)

There is still a lot to do, but it is a good first step.

Fixes #255
This commit is contained in:
Baptiste Gelez
2019-03-15 16:06:10 +01:00
committed by GitHub
parent ffcbc0fde3
commit 9076dbaadc
25 changed files with 618 additions and 156 deletions
+3 -3
View File
@@ -545,6 +545,9 @@ msgstr ""
msgid "Username or email"
msgstr "Имя пользователя или адрес электронной почты"
msgid "Publish"
msgstr "Опубликовать"
msgid "Subtitle"
msgstr "Подзаголовок"
@@ -914,9 +917,6 @@ msgstr "Использовать как аватар"
#~ msgid "Let's go!"
#~ msgstr "Поехали!"
#~ msgid "Publish"
#~ msgstr "Опубликовать"
#~ msgid "One follower"
#~ msgid_plural "{0} followers"
#~ msgstr[0] "Один подписчик"