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:
@@ -273,6 +273,7 @@ main .article-meta {
|
||||
flex-direction: row-reverse;
|
||||
background: transparent;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
button {
|
||||
flex: 0 0 10em;
|
||||
font-size: 1.25em;
|
||||
|
||||
@@ -74,6 +74,19 @@ header {
|
||||
}
|
||||
}
|
||||
|
||||
.messages {
|
||||
& > * {
|
||||
padding: 1em 20%;
|
||||
}
|
||||
|
||||
p.error {
|
||||
color: $red;
|
||||
background: lighten($red, 40%);
|
||||
margin: 0;
|
||||
max-width: initial;
|
||||
}
|
||||
}
|
||||
|
||||
// Only enable label animations on normal screens
|
||||
@media screen and (min-width: 900px) {
|
||||
header nav a {
|
||||
|
||||
Reference in New Issue
Block a user