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:
@@ -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