mirror of
https://github.com/codex-team/editor.js
synced 2026-03-16 15:45:47 +01:00
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:
parent
c6656770e5
commit
972eb87d89
25 changed files with 304 additions and 151 deletions
|
|
@ -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 решает эту проблему: здесь можно не только объявить свойства класса, но и назначить им начальные значения'
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue