UI: Block Settings, show Plus after Enter keydown (#265)

* Some UI improvements: icons settigns

* Show plus button after split

* decrease autoprefixer

* rename variable
This commit is contained in:
Peter Savchenko 2018-06-28 12:20:41 +03:00 committed by GitHub
commit 972eb87d89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 304 additions and 151 deletions

View file

@ -83,7 +83,7 @@
{
type : 'text',
data : {
text : '<p><b>CodeX</b> Привет!!!</p>'
text : 'В <b>JavaScript</b> <a href="https://ifmo.su/ts-classes">нет возможности</a> назначить свойства при объявлении класса — все необходимые значения нужно определять в конструкторе или других методах. При таком подходе объявление свойств неявное, не всегда ясно какие свойства имеет класс. TS решает эту проблему: здесь можно не только объявить свойства класса, но и назначить им начальные значения'
}
}
]

View file

@ -3,11 +3,20 @@
*/
.ce-text {
padding: 15px 0 !important;
line-height: 1.6em;
outline: none;
padding: 10px 0;
line-height: 1.6em;
outline: none;
}
.ce-text p:first-of-type {
margin-top: 0;
}
.ce-text p:last-of-type {
margin-bottom: 0;
}
.ce-paragraph:empty::before,
.ce-paragraph p:empty::before{
content : attr(data-placeholder);
@ -32,4 +41,4 @@
}
.ce-paragraph p:last-of-type{
margin-bottom: 0;
}
}