Skip to content

Commit 6ac8a6e

Browse files
Add translations for events (ru)
1 parent a7bb689 commit 6ac8a6e

32 files changed

Lines changed: 481 additions & 481 deletions
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
11
---
22
sidebar_label: align
3-
title: align Event
4-
description: You can learn about the align event in the documentation of the DHTMLX JavaScript RichText library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX RichText.
3+
title: Событие align
4+
description: Документация по событию align библиотеки DHTMLX RichText. Руководства, справочник API, примеры кода и демо, а также бесплатная 30-дневная пробная версия.
55
---
66

77
# align
88

9-
### Description
9+
### Описание {#description}
1010

11-
@short: Fires when text alignment is changed via the menubar/toolbar or Event Bus methods
11+
@short: Срабатывает при изменении выравнивания текста через menubar/toolbar или методы Event Bus
1212

13-
### Usage
13+
### Использование {#usage}
1414

1515
~~~jsx {}
16-
"align": ({
16+
"align": ({
1717
align: "left" | "center" | "right" | "justify"
1818
}) => boolean | void;
1919
~~~
2020

21-
### Parameters
21+
### Параметры {#parameters}
2222

23-
The callback of the **align** event can take an object with the following parameter:
23+
Колбэк события **align** принимает объект со следующим параметром:
2424

25-
- `align` - a text alignment. You can specify one of the following values: `"left" | "center" | "right" | "justify"`
25+
- `align` — выравнивание текста. Возможные значения: `"left" | "center" | "right" | "justify"`
2626

27-
:::info
28-
For handling inner events you can use [**Event Bus methods**](api/overview/event_bus_methods_overview.md)
27+
:::info[Информация]
28+
Для обработки внутренних событий используйте [**методы Event Bus**](api/overview/event_bus_methods_overview.md)
2929
:::
3030

31-
### Example
31+
### Пример {#example}
3232

3333
~~~jsx {5-12}
34-
// initialize RichText
34+
// инициализация RichText
3535
const editor = new richtext.Richtext("#root", {
36-
// configuration properties
36+
// свойства конфигурации
3737
});
38-
// subscribe to the "align" event
38+
// подписка на событие "align"
3939
editor.api.on("align", (obj) => {
4040
console.log(`Align to: ${obj.align}`);
4141
});
42-
// align the text to the left
42+
// выравнивание текста по левому краю
4343
editor.api.exec("align", {
4444
align: "left"
45-
});
45+
});
4646
~~~
4747

48-
**Change log:** The event was added in v2.0
48+
**История изменений:** Событие добавлено в v2.0
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
---
22
sidebar_label: clear-text-format
3-
title: clear-text-format Event
4-
description: You can learn about the clear-text-format event in the documentation of the DHTMLX JavaScript RichText library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX RichText.
3+
title: Событие clear-text-format
4+
description: Документация по событию clear-text-format библиотеки DHTMLX RichText. Руководства, справочник API, примеры кода и демо, а также бесплатная 30-дневная пробная версия.
55
---
66

77
# clear-text-format
88

9-
### Description
9+
### Описание {#description}
1010

11-
@short: Fires when a text format is cleared via the menubar/toolbar or Event Bus methods
11+
@short: Срабатывает при очистке форматирования текста через menubar/toolbar или методы Event Bus
1212

13-
### Usage
13+
### Использование {#usage}
1414

1515
~~~jsx {}
1616
"clear-text-format": () => boolean | void;
1717
~~~
1818

19-
:::info
20-
For handling inner events you can use [**Event Bus methods**](api/overview/event_bus_methods_overview.md)
19+
:::info[Информация]
20+
Для обработки внутренних событий используйте [**методы Event Bus**](api/overview/event_bus_methods_overview.md)
2121
:::
2222

23-
### Example
23+
### Пример {#example}
2424

2525
~~~jsx {5-10}
26-
// initialize RichText
26+
// инициализация RichText
2727
const editor = new richtext.Richtext("#root", {
28-
// configuration properties
28+
// свойства конфигурации
2929
});
30-
// subscribe to the "clear-text-format" event
30+
// подписка на событие "clear-text-format"
3131
editor.api.on("clear-text-format", () => {
3232
console.log("Text format was cleared");
3333
});
34-
// clear text format
34+
// очистка форматирования текста
3535
editor.api.exec("clear-text-format", {});
3636
~~~
3737

38-
**Change log:** The event was added in v2.0
38+
**История изменений:** Событие добавлено в v2.0
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
---
22
sidebar_label: copy
3-
title: copy Event
4-
description: You can learn about the copy event in the documentation of the DHTMLX JavaScript RichText library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX RichText.
3+
title: Событие copy
4+
description: Документация по событию copy библиотеки DHTMLX RichText. Руководства, справочник API, примеры кода и демо, а также бесплатная 30-дневная пробная версия.
55
---
66

77
# copy
88

9-
### Description
9+
### Описание {#description}
1010

11-
@short: Fires when copying selected text
11+
@short: Срабатывает при копировании выделенного текста
1212

13-
### Usage
13+
### Использование {#usage}
1414

1515
~~~jsx {}
1616
"copy": () => boolean | void;
1717
~~~
1818

19-
:::info
20-
For handling inner events you can use [**Event Bus methods**](api/overview/event_bus_methods_overview.md)
19+
:::info[Информация]
20+
Для обработки внутренних событий используйте [**методы Event Bus**](api/overview/event_bus_methods_overview.md)
2121
:::
2222

23-
### Example
23+
### Пример {#example}
2424

2525
~~~jsx {5-8}
26-
// initialize RichText
26+
// инициализация RichText
2727
const editor = new richtext.Richtext("#root", {
28-
// configuration properties
28+
// свойства конфигурации
2929
});
30-
// subscribe to the "copy" event
30+
// подписка на событие "copy"
3131
editor.api.on("copy", () => {
3232
console.log("Selected text was copied");
3333
});
3434
~~~
3535

36-
**Change log:** The event was added in v2.0
36+
**История изменений:** Событие добавлено в v2.0
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
---
22
sidebar_label: create-new
3-
title: create-new Event
4-
description: You can learn about the create-new event in the documentation of the DHTMLX JavaScript RichText library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX RichText.
3+
title: Событие create-new
4+
description: Документация по событию create-new библиотеки DHTMLX RichText. Руководства, справочник API, примеры кода и демо, а также бесплатная 30-дневная пробная версия.
55
---
66

77
# create-new
88

9-
### Description
9+
### Описание {#description}
1010

11-
@short: Fires when pressing the "New" option within the menubar or via Event Bus methods
11+
@short: Срабатывает при нажатии пункта "New" в menubar или через методы Event Bus
1212

13-
### Usage
13+
### Использование {#usage}
1414

1515
~~~jsx {}
1616
"create-new": ({ reset?: boolean }) => boolean | void;
1717
~~~
1818

19-
### Parameters
19+
### Параметры {#parameters}
2020

21-
The callback of the **create-new** event can take an object with the following parameter:
21+
Колбэк события **create-new** принимает объект со следующим параметром:
2222

23-
- `reset` - resets the history when creating a new file
23+
- `reset` — сбрасывает историю при создании нового файла
2424

25-
:::info
26-
For handling inner events you can use [**Event Bus methods**](api/overview/event_bus_methods_overview.md)
25+
:::info[Информация]
26+
Для обработки внутренних событий используйте [**методы Event Bus**](api/overview/event_bus_methods_overview.md)
2727
:::
2828

29-
### Example
29+
### Пример {#example}
3030

3131
~~~jsx {5-10}
32-
// initialize RichText
32+
// инициализация RichText
3333
const editor = new richtext.Richtext("#root", {
34-
// configuration properties
34+
// свойства конфигурации
3535
});
36-
// subscribe to the "create-new" event
36+
// подписка на событие "create-new"
3737
editor.api.on("create-new", ({ reset }) => {
3838
console.log(`Document has been cleared. History has ${reset ? "" : "not"} been reset.`);
3939
});
40-
// create new file and reset the history
40+
// создать новый файл и сбросить историю
4141
editor.api.exec("create-new", { reset: true });
4242
~~~
4343

44-
**Change log:** The event was added in v2.0
44+
**История изменений:** Событие добавлено в v2.0
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
---
22
sidebar_label: cut
3-
title: cut Event
4-
description: You can learn about the cut event in the documentation of the DHTMLX JavaScript RichText library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX RichText.
3+
title: Событие cut
4+
description: Документация по событию cut библиотеки DHTMLX RichText. Руководства, справочник API, примеры кода и демо, а также бесплатная 30-дневная пробная версия.
55
---
66

77
# cut
88

9-
### Description
9+
### Описание {#description}
1010

11-
@short: Fires when cutting selected text
11+
@short: Срабатывает при вырезании выделенного текста
1212

13-
### Usage
13+
### Использование {#usage}
1414

1515
~~~jsx {}
1616
"cut": () => boolean | void;
1717
~~~
1818

19-
:::info
20-
For handling inner events you can use [**Event Bus methods**](api/overview/event_bus_methods_overview.md)
19+
:::info[Информация]
20+
Для обработки внутренних событий используйте [**методы Event Bus**](api/overview/event_bus_methods_overview.md)
2121
:::
2222

23-
### Example
23+
### Пример {#example}
2424

2525
~~~jsx {5-8}
26-
// initialize RichText
26+
// инициализация RichText
2727
const editor = new richtext.Richtext("#root", {
28-
// configuration properties
28+
// свойства конфигурации
2929
});
30-
// subscribe to the "cut" event
30+
// подписка на событие "cut"
3131
editor.api.on("cut", () => {
3232
console.log("Selected text was cut");
3333
});
3434
~~~
3535

36-
**Change log:** The event was added in v2.0
36+
**История изменений:** Событие добавлено в v2.0
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
---
22
sidebar_label: delete-link
3-
title: delete-link Event
4-
description: You can learn about the delete-link event in the documentation of the DHTMLX JavaScript RichText library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX RichText.
3+
title: Событие delete-link
4+
description: Документация по событию delete-link библиотеки DHTMLX RichText. Руководства, справочник API, примеры кода и демо, а также бесплатная 30-дневная пробная версия.
55
---
66

77
# delete-link
88

9-
### Description
9+
### Описание {#description}
1010

11-
@short: Fires when deleting a link
11+
@short: Срабатывает при удалении ссылки
1212

13-
### Usage
13+
### Использование {#usage}
1414

1515
~~~jsx {}
1616
"delete-link": () => boolean | void;
1717
~~~
1818

19-
:::info
20-
For handling inner events you can use [**Event Bus methods**](api/overview/event_bus_methods_overview.md)
19+
:::info[Информация]
20+
Для обработки внутренних событий используйте [**методы Event Bus**](api/overview/event_bus_methods_overview.md)
2121
:::
2222

23-
### Example
23+
### Пример {#example}
2424

2525
~~~jsx {5-8}
26-
// initialize RichText
26+
// инициализация RichText
2727
const editor = new richtext.Richtext("#root", {
28-
// configuration properties
28+
// свойства конфигурации
2929
});
30-
// subscribe to the "delete-link" event
30+
// подписка на событие "delete-link"
3131
editor.api.on("delete-link", () => {
3232
console.log("The link was deleted");
3333
});
3434
~~~
3535

36-
**Change log:** The event was added in v2.0
36+
**История изменений:** Событие добавлено в v2.0

0 commit comments

Comments
 (0)