mirror of
https://github.com/codex-team/editor.js
synced 2024-06-20 06:35:48 +02:00
translated core placeholders to russian (#114)
This commit is contained in:
parent
8e6cf4eb6f
commit
6a63c76b15
|
@ -29,6 +29,11 @@
|
||||||
min-height: 350px;
|
min-height: 350px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.ce-block__content a {
|
||||||
|
color: #186baa;
|
||||||
|
}
|
||||||
|
|
||||||
/*.ce-redactor * {
|
/*.ce-redactor * {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}*/
|
}*/
|
||||||
|
@ -302,8 +307,10 @@
|
||||||
.ce-toolbar-inline__buttons button{
|
.ce-toolbar-inline__buttons button{
|
||||||
background: none;
|
background: none;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
margin: 0 !important;
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
padding: 12px 8px;
|
padding: 13px 9px;
|
||||||
|
line-height: 1em;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
@ -329,7 +336,8 @@
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
border : 0 !important;
|
border : 0 !important;
|
||||||
box-sizing: border-box !important;
|
box-sizing: border-box !important;
|
||||||
padding: 10px;
|
padding: 12px;
|
||||||
|
font-size: 13px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
@ -364,7 +372,8 @@
|
||||||
left: 17px;
|
left: 17px;
|
||||||
top: 13px;
|
top: 13px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #ef4a4a;
|
/*color: #ef4a4a;*/
|
||||||
|
color: #7d6060;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -88,7 +88,7 @@ var codex =
|
||||||
codex.sanitizer = __webpack_require__(18);
|
codex.sanitizer = __webpack_require__(18);
|
||||||
};
|
};
|
||||||
|
|
||||||
codex.version = ("1.3.0");
|
codex.version = ("1.3.2");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @public
|
* @public
|
||||||
|
@ -744,7 +744,7 @@ var codex =
|
||||||
|
|
||||||
initialBlock = codex.tools[initialBlockType].render();
|
initialBlock = codex.tools[initialBlockType].render();
|
||||||
|
|
||||||
initialBlock.setAttribute('data-placeholder', 'Write your story...');
|
initialBlock.setAttribute('data-placeholder', 'Расскажите свою историю...');
|
||||||
|
|
||||||
codex.content.insertBlock({
|
codex.content.insertBlock({
|
||||||
type: initialBlockType,
|
type: initialBlockType,
|
||||||
|
@ -3837,7 +3837,7 @@ var codex =
|
||||||
|
|
||||||
input.type = 'input';
|
input.type = 'input';
|
||||||
input.className += 'inputForLink';
|
input.className += 'inputForLink';
|
||||||
input.placeholder = 'Type URL ...';
|
input.placeholder = 'Вставьте ссылку ...';
|
||||||
input.setAttribute('form', 'defaultForm');
|
input.setAttribute('form', 'defaultForm');
|
||||||
|
|
||||||
input.setAttribute('autofocus', 'autofocus');
|
input.setAttribute('autofocus', 'autofocus');
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -107,7 +107,7 @@ var draw = (function(draw) {
|
||||||
|
|
||||||
input.type = 'input';
|
input.type = 'input';
|
||||||
input.className += 'inputForLink';
|
input.className += 'inputForLink';
|
||||||
input.placeholder = 'Type URL ...';
|
input.placeholder = 'Вставьте ссылку ...';
|
||||||
input.setAttribute('form', 'defaultForm');
|
input.setAttribute('form', 'defaultForm');
|
||||||
|
|
||||||
input.setAttribute('autofocus', 'autofocus');
|
input.setAttribute('autofocus', 'autofocus');
|
||||||
|
|
|
@ -378,7 +378,7 @@ var ui = (function(ui){
|
||||||
|
|
||||||
initialBlock = codex.tools[initialBlockType].render();
|
initialBlock = codex.tools[initialBlockType].render();
|
||||||
|
|
||||||
initialBlock.setAttribute('data-placeholder', 'Write your story...');
|
initialBlock.setAttribute('data-placeholder', 'Расскажите свою историю...');
|
||||||
|
|
||||||
codex.content.insertBlock({
|
codex.content.insertBlock({
|
||||||
type : initialBlockType,
|
type : initialBlockType,
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue