@seafile/sdoc-editor 0.1.128 → 0.1.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ /* modify default css */
2
+ .sdoc-editor-container .article {
3
+ font-size: 16px;
4
+ }
5
+
6
+ .sdoc-editor-container .sdoc-code-block-pre {
7
+ font-size: 14px;
8
+ }
@@ -51,6 +51,19 @@ var EditorComment = function EditorComment() {
51
51
  setComments([]);
52
52
  setIsShowComments(false);
53
53
  }, [element_comments_map, selectionElement, editor.selection]);
54
+ var onHiddenComment = useCallback(function (e) {
55
+ if (e.target.className === 'article') {
56
+ setComments([]);
57
+ setIsShowComments(false);
58
+ }
59
+ }, []);
60
+ useEffect(function () {
61
+ window.addEventListener('click', onHiddenComment);
62
+ return function () {
63
+ window.removeEventListener('click', onHiddenComment);
64
+ };
65
+ // eslint-disable-next-line react-hooks/exhaustive-deps
66
+ }, []);
54
67
  return /*#__PURE__*/React.createElement("div", {
55
68
  className: "sdoc-comment-container"
56
69
  }, /*#__PURE__*/React.createElement("div", {
@@ -31,7 +31,8 @@ var FONT_WEIGHT_400_700 = [400, 700];
31
31
  var FONT_WEIGHT_100_400_700 = [100, 400, 700];
32
32
  var FONT_WEIGHT_100_400_700_800 = [100, 400, 700, 800];
33
33
  export var SPECIAL_FONT_SIZE_NAME = ['初号', '小初', '一号', '小一', '二号', '小二', '三号', '小三', '四号', '小四', '五号', '小五'];
34
- export var DEFAULT_COMMON_FONT_SIZE = 14;
34
+ export var DEFAULT_COMMON_FONT_SIZE = 16;
35
+ export var DEFAULT_CODE_FONT_SIZE = 14;
35
36
  export var FONT_SIZE = [{
36
37
  name: '初号',
37
38
  value: 42,
@@ -5,7 +5,7 @@ import * as ELEMENT_TYPE from './element-type';
5
5
  import { BLOCKQUOTE, HEADER, HEADER1, HEADER2, HEADER3, HEADER4, HEADER5, HEADER6, PARAGRAPH, BOLD, ITALIC, UNDERLINE, STRIKETHROUGH, SUPERSCRIPT, SUBSCRIPT, ORDERED_LIST, UNORDERED_LIST, LIST_ITEM, LIST_LIC, CHECK_LIST, CHECK_LIST_ITEM, LINK, HTML, CODE_BLOCK, CODE_LINE, IMAGE, TABLE, TABLE_CELL, TABLE_ROW, FORMULA, COLUMN, TEXT_STYLE, TEXT_STYLE_MORE, BOLD_ITALIC, TEXT_ALIGN, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_CENTER, CLEAR_FORMAT, COLOR, HIGHLIGHT_COLOR, SDOC_LINK } from './element-type';
6
6
  import KEYBOARD from './keyboard';
7
7
  import { DEFAULT_COLORS, STANDARD_COLORS, DEFAULT_RECENT_USED_LIST, DEFAULT_FONT_COLOR, RECENT_USED_HIGHLIGHT_COLORS_KEY, RECENT_USED_FONT_COLORS_KEY, RECENT_USED_TABLE_CELL_BG_COLORS_KEY, DEFAULT_LAST_USED_FONT_COLOR, DEFAULT_LAST_USED_HIGHLIGHT_COLOR, DEFAULT_LAST_USED_TABLE_CELL_BG_COLOR } from './color';
8
- import { SPECIAL_FONT_SIZE_NAME, DEFAULT_COMMON_FONT_SIZE, FONT_SIZE, DEFAULT_FONT, FONT, GOOGLE_FONT_CLASS, RECENT_USED_FONTS_KEY, HEADER_FONT_SIZE } from './font';
8
+ import { SPECIAL_FONT_SIZE_NAME, DEFAULT_COMMON_FONT_SIZE, FONT_SIZE, DEFAULT_FONT, FONT, GOOGLE_FONT_CLASS, RECENT_USED_FONTS_KEY, HEADER_FONT_SIZE, DEFAULT_CODE_FONT_SIZE } from './font';
9
9
 
10
10
  // history
11
11
  export var UNDO = 'undo';
@@ -232,4 +232,4 @@ export var SIDE_MENUS_CONFIG = [{
232
232
  type: BLOCKQUOTE,
233
233
  title: 'Quote'
234
234
  }];
235
- export { BLOCKQUOTE, HEADER, HEADER1, HEADER2, HEADER3, HEADER4, HEADER5, HEADER6, PARAGRAPH, BOLD, ITALIC, UNDERLINE, STRIKETHROUGH, SUPERSCRIPT, SUBSCRIPT, ORDERED_LIST, UNORDERED_LIST, LIST_ITEM, LIST_LIC, CHECK_LIST, CHECK_LIST_ITEM, LINK, HTML, CODE_BLOCK, CODE_LINE, IMAGE, TABLE, TABLE_CELL, TABLE_ROW, FORMULA, COLUMN, TEXT_STYLE, TEXT_STYLE_MORE, BOLD_ITALIC, TEXT_ALIGN, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_CENTER, ELEMENT_TYPE, KEYBOARD, DEFAULT_COLORS, STANDARD_COLORS, DEFAULT_RECENT_USED_LIST, CLEAR_FORMAT, DEFAULT_FONT_COLOR, RECENT_USED_HIGHLIGHT_COLORS_KEY, RECENT_USED_FONT_COLORS_KEY, RECENT_USED_TABLE_CELL_BG_COLORS_KEY, DEFAULT_LAST_USED_FONT_COLOR, DEFAULT_LAST_USED_HIGHLIGHT_COLOR, DEFAULT_LAST_USED_TABLE_CELL_BG_COLOR, SPECIAL_FONT_SIZE_NAME, DEFAULT_COMMON_FONT_SIZE, FONT_SIZE, DEFAULT_FONT, FONT, GOOGLE_FONT_CLASS, RECENT_USED_FONTS_KEY, HEADER_FONT_SIZE, SDOC_LINK };
235
+ export { BLOCKQUOTE, HEADER, HEADER1, HEADER2, HEADER3, HEADER4, HEADER5, HEADER6, PARAGRAPH, BOLD, ITALIC, UNDERLINE, STRIKETHROUGH, SUPERSCRIPT, SUBSCRIPT, ORDERED_LIST, UNORDERED_LIST, LIST_ITEM, LIST_LIC, CHECK_LIST, CHECK_LIST_ITEM, LINK, HTML, CODE_BLOCK, CODE_LINE, IMAGE, TABLE, TABLE_CELL, TABLE_ROW, FORMULA, COLUMN, TEXT_STYLE, TEXT_STYLE_MORE, BOLD_ITALIC, TEXT_ALIGN, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_CENTER, ELEMENT_TYPE, KEYBOARD, DEFAULT_COLORS, STANDARD_COLORS, DEFAULT_RECENT_USED_LIST, CLEAR_FORMAT, DEFAULT_FONT_COLOR, RECENT_USED_HIGHLIGHT_COLORS_KEY, RECENT_USED_FONT_COLORS_KEY, RECENT_USED_TABLE_CELL_BG_COLORS_KEY, DEFAULT_LAST_USED_FONT_COLOR, DEFAULT_LAST_USED_HIGHLIGHT_COLOR, DEFAULT_LAST_USED_TABLE_CELL_BG_COLOR, SPECIAL_FONT_SIZE_NAME, DEFAULT_COMMON_FONT_SIZE, DEFAULT_CODE_FONT_SIZE, FONT_SIZE, DEFAULT_FONT, FONT, GOOGLE_FONT_CLASS, RECENT_USED_FONTS_KEY, HEADER_FONT_SIZE, SDOC_LINK };
@@ -1,6 +1,6 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
2
  import { Editor, Element } from '@seafile/slate';
3
- import { CODE_BLOCK, DEFAULT_COMMON_FONT_SIZE, IMAGE, FONT_SIZE, SPECIAL_FONT_SIZE_NAME, DEFAULT_FONT, GOOGLE_FONT_CLASS, FONT, HEADER_FONT_SIZE, HEADERS } from '../../constants';
3
+ import { CODE_BLOCK, DEFAULT_COMMON_FONT_SIZE, IMAGE, FONT_SIZE, SPECIAL_FONT_SIZE_NAME, DEFAULT_FONT, GOOGLE_FONT_CLASS, FONT, HEADER_FONT_SIZE, HEADERS, ELEMENT_TYPE, DEFAULT_CODE_FONT_SIZE } from '../../constants';
4
4
  import { focusEditor, getParentNode } from '../../core';
5
5
  import context from '../../../../context';
6
6
  import { isMac } from '../../../../utils';
@@ -33,10 +33,9 @@ export var getFontSize = function getFontSize(editor) {
33
33
  at: Editor.unhangRange(editor, selection),
34
34
  match: function match(n) {
35
35
  if (!Editor.isEditor(n) && !Element.isElement(n)) {
36
- // console.log(n) && n['font-size']
37
36
  if (n['font-size']) return true;
38
37
  var _parentNode = getParentNode(editor.children, n.id);
39
- if (_parentNode && HEADERS.includes(_parentNode.type)) {
38
+ if (_parentNode && (HEADERS.includes(_parentNode.type) || _parentNode.type === ELEMENT_TYPE.CODE_LINE)) {
40
39
  return true;
41
40
  }
42
41
  return false;
@@ -51,6 +50,7 @@ export var getFontSize = function getFontSize(editor) {
51
50
  if (matched['font-size']) return matched['font-size'];
52
51
  var parentNode = getParentNode(editor.children, matched.id);
53
52
  if (HEADERS.includes(parentNode.type)) return HEADER_FONT_SIZE[parentNode.type];
53
+ if (parentNode.type === ELEMENT_TYPE.CODE_LINE) return DEFAULT_CODE_FONT_SIZE;
54
54
  return DEFAULT_COMMON_FONT_SIZE;
55
55
  };
56
56
  export var setFontSize = function setFontSize(editor, value) {
@@ -1,10 +1,13 @@
1
- import { Transforms, Path } from '@seafile/slate';
1
+ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
+ import { Transforms, Path, Editor, Element } from '@seafile/slate';
2
3
  import context from '../../../../context';
3
4
  import { insertImage } from './helpers';
5
+ import { focusEditor } from '../../core';
4
6
  var withImage = function withImage(editor) {
5
7
  var isInline = editor.isInline,
6
8
  isVoid = editor.isVoid,
7
- insertData = editor.insertData;
9
+ insertData = editor.insertData,
10
+ deleteBackward = editor.deleteBackward;
8
11
  var newEditor = editor;
9
12
 
10
13
  // rewrite isInline
@@ -53,6 +56,18 @@ var withImage = function withImage(editor) {
53
56
  return;
54
57
  }
55
58
  };
59
+ newEditor.deleteBackward = function (unit) {
60
+ deleteBackward(unit);
61
+ // After the delete operation, if the selected image is selected, the cursor moves backward one position
62
+ var selection = editor.selection;
63
+ var _Editor$parent = Editor.parent(editor, selection),
64
+ _Editor$parent2 = _slicedToArray(_Editor$parent, 2),
65
+ node = _Editor$parent2[0],
66
+ path = _Editor$parent2[1];
67
+ if (Element.isElement(node) && node.type === 'image') {
68
+ focusEditor(editor, Path.next(path));
69
+ }
70
+ };
56
71
  return newEditor;
57
72
  };
58
73
  export default withImage;
@@ -3,6 +3,7 @@ import classnames from 'classnames';
3
3
  import { ColorProvider } from '../hooks/use-color-context';
4
4
  import { Toolbar } from '../extension';
5
5
  import { isMobile } from '../../utils';
6
+ import '../assets/css/default.css';
6
7
  import '../assets/css/layout.css';
7
8
  import '../assets/css/sdoc-editor-plugins.css';
8
9
  import '../assets/css/dropdown-menu.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "0.1.128",
3
+ "version": "0.1.129",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",
@@ -1,108 +1,164 @@
1
1
  {
2
- "bold": "Tučně",
3
- "italic": "Kurzíva",
4
- "inline_code": "Kód",
5
- "header_one": "Záhlaví 1",
6
- "header_two": "Záhlaví 2",
7
- "header_three": "Záhlaví 3",
8
- "header_four": "Záhlaví 4",
9
- "header_five": "Záhlaví 5",
10
- "header_six": "Záhlaví 6",
11
- "paragraph": "Odstavec",
12
- "quote": "Citace",
13
- "ordered_list": "Číslovaný seznam",
14
- "unordered_list": "Nečíslovaný seznam",
15
- "check_list_item": "Zkontrolovat položku seznamu",
16
- "insert_image": "Vložit obrázek",
17
- "code": "Řádkový kód",
18
- "code_block": "Blok kódu",
19
- "insert_link": "Vložit odkaz",
20
- "insert_table": "Vložit tabulku",
21
- "save": "Uložit",
22
- "more": "Více",
23
- "invalid_url": "Chybná URL",
24
- "link_address": "Adresa odkazu",
25
- "image_address": "Adresa obrázku",
26
- "submit": "Odeslat",
27
- "cancel": "Storno",
28
- "switch_to_plain_text_editor": "Přepnout do textového editoru",
29
- "switch_to_rich_text_editor": "Přepnout do rozšířeného textového editoru",
30
- "switch_to_viewer": "Přepnout do značkovacího prohlížeče",
31
- "help": "Pomoc",
32
- "Remove_table": "Odebrat tabulku",
33
- "column": "Sloupec",
34
- "row": "Řádek",
35
- "set_align": "Nastavit zarovnání",
36
- "left": "Vlevo",
37
- "center": "Střed",
38
- "right": "Vpravo",
39
- "file_saved": "Soubor uložen",
40
- "file_failed_to_save": "Soubor nebyl uložen",
41
- "star": "Přidat hvězdičku",
42
- "unstar": "Odebrat hvězdičku",
43
- "back_to_parent_directory":"Zpět do nadřazeného adresáře",
44
- "edit":"editovat",
45
- "copy": "Kopírovat",
46
- "copied": "Zkopírováno",
47
- "internal_link": "Interní odkaz",
48
- "copy_internal_link": "Interní odkaz byl zkopírován do schránky",
49
- "internal_link_desc": "Interní odkaz směřuje na soubor nebo složku u které má uživatel oprávnění ke čtení.",
50
- "share": "Sdílet",
51
- "share_link": "Veřejný odkaz",
52
- "generate": "Generovat",
53
- "add_password_protection": "Přidat ochranu heslem",
54
- "password": "Heslo",
55
- "at_least_8_characters": "nejméně 8 znaků",
56
- "password_again": "Heslo znovu",
57
- "add_auto_expiration": "Přidat automatickou expiraci",
58
- "days": "dní",
59
- "please_enter_password": "Zadejte heslo",
60
- "greater_than_or_equal_to": "Vyšší nebo rovno",
61
- "less_than_or_equal_to": "Nižší nebo rovno",
62
- "set_permission": "Nastavit oprávnění",
63
- "preview_and_download": "Zobrazit a stáhnout",
64
- "preview_only": "Pouze zobrazit",
65
- "please_enter_valid_days": "Zadejte platné dny",
66
- "please_enter_a_non-negative_integer": "Vložte prosím nezáporné celé číslo",
67
- "please_enter_days": "Prosím zadejte dny",
68
- "password_is_too_short": "Heslo je příliš krátké.",
69
- "passwords_do_not_match": "Hesla nesouhlasí",
70
- "return_to_wiki_page": "Návrat na stránku Wiki",
71
- "insert_network_image": "Vložit síťový obrázek",
72
- "upload_local_image": "Nahrát lokální obrázek",
73
- "add_link": "Přidat odkaz",
74
- "file_history": "Historie souboru",
75
- "history_version": "Historie verzí",
76
- "back_to_viewer": "Zpět na prohlížeč",
77
- "link_title": "Název odkazu",
78
- "local_draft": "Místní koncept",
79
- "use_draft": "Použít koncept",
80
- "delete_draft": "Smazat koncept",
81
- "you_have_an_unsaved_draft_do_you_like_to_use_it": "Máte neuložený koncept. Chcete ho použít?",
82
- "local_draft_saved": "Místní koncept byl uložen",
83
- "new_draft": "Nový návrh",
84
- "edit_draft": "Upravit návrh",
85
- "this_file_has_a_draft": "Tento soubor má koncept.",
86
- "delete": "Smazat",
87
- "comments": "Komentáře",
88
- "add_a_comment": "Přidat komentář…",
89
- "no_comment_yet": "Žádné komentáře",
2
+ "Bold": "Tučně",
3
+ "Italic": "Kurzíva",
4
+ "Underline": "Underline",
5
+ "Strikethrough": "Strikethrough",
6
+ "Superscript": "Superscript",
7
+ "Subscript": "Subscript",
8
+ "Inline_code": "Kód",
9
+ "Header_one": "Záhlaví 1",
10
+ "Header_two": "Záhlaví 2",
11
+ "Header_three": "Záhlaví 3",
12
+ "Header_four": "Záhlaví 4",
13
+ "Header_five": "Záhlaví 5",
14
+ "Header_six": "Záhlaví 6",
15
+ "Paragraph": "Odstavec",
16
+ "Quote": "Citace",
17
+ "Ordered_list": "Seřazený seznam",
18
+ "Unordered_list": "Neseřazený seznam",
19
+ "Check_list_item": "Check list item",
20
+ "Insert_image": "Insert image",
21
+ "Insert_formula": "Insert formula",
22
+ "Formula": "Formula",
23
+ "Insert_file": "Insert file",
24
+ "Code": "Řádkový kód",
25
+ "Code_block": "Code block",
26
+ "Insert_link": "Insert link",
27
+ "Insert_table": "Insert table",
28
+ "Valid_values_for_rows_and_columns": "Valid values for the number of rows and columns are 0 to 50",
29
+ "Save": "Uložit",
30
+ "More": "Více",
31
+ "Invalid_url": "Chybná URL",
32
+ "Link_address": "Adresa odkazu",
33
+ "Image_address": "Adresa obrázku",
34
+ "Submit": "Odeslat",
35
+ "Cancel": "Storno",
36
+ "Switch_to_plain_text_editor": "Přepnout do textového editoru",
37
+ "Switch_to_rich_text_editor": "Přepnout do rozšířeného textového editoru",
38
+ "Switch_to_viewer": "Přepnout do značkovacího prohlížeče",
39
+ "Help": "Pomoc",
40
+ "Column": "Sloupec",
41
+ "Row": "Řádek",
42
+ "Delete_table": "Delete table",
43
+ "Delete_row": "Delete row",
44
+ "Delete_column": "Delete column",
45
+ "Insert_row": "Insert row",
46
+ "Insert_column": "Insert column",
47
+ "Set_align": "Nastavit zarovnání",
48
+ "Left": "Vlevo",
49
+ "Center": "Střed",
50
+ "Right": "Vpravo",
51
+ "File_saved": "Soubor uložen",
52
+ "File_failed_to_save": "Soubor nebyl uložen",
53
+ "Back_to_parent_directory":"Zpět do nadřazeného adresáře",
54
+ "Edit": "Upravit",
55
+ "Copy": "Kopírovat",
56
+ "Copied": "Zkopírováno",
57
+ "Internal_link": "Interní odkaz",
58
+ "Copy_internal_link": "Interní odkaz byl zkopírován do schránky",
59
+ "Internal_link_desc": "Interní odkaz směřuje na soubor nebo složku u které má uživatel oprávnění ke čtení.",
60
+ "Share": "Sdílet",
61
+ "Share_link": "Share link",
62
+ "Generate": "Generovat",
63
+ "Add_password_protection": "Přidat ochranu heslem",
64
+ "Password": "Heslo",
65
+ "At_least_8_characters": "nejméně 8 znaků",
66
+ "Password_again": "Heslo znovu",
67
+ "Add_auto_expiration": "Přidat automatickou expiraci",
68
+ "Days": "dní",
69
+ "Please_enter_password": "Zadejte heslo",
70
+ "Greater_than_or_equal_to": "Vyšší nebo rovno",
71
+ "Less_than_or_equal_to": "Nižší nebo rovno",
72
+ "Set_permission": "Nastavit oprávnění",
73
+ "Preview_and_download": "Zobrazit a stáhnout",
74
+ "Preview_only": "Pouze zobrazit",
75
+ "Please_enter_valid_days": "Zadejte platné dny",
76
+ "Please_enter_a_non-negative_integer": "Vložte prosím nezáporné celé číslo",
77
+ "Please_enter_days": "Prosím zadejte dny",
78
+ "Password_is_too_short": "Heslo je příliš krátké.",
79
+ "Passwords_do_not_match": "Hesla nesouhlasí",
80
+ "Return_to_wiki_page": "Návrat na stránku Wiki",
81
+ "Insert_network_image": "Vložit síťový obrázek",
82
+ "Upload_local_image": "Nahrát lokální obrázek",
83
+ "Add_link": "Přidat odkaz",
84
+ "File_history": "File history",
85
+ "History_version": "History versions",
86
+ "Back_to_viewer": "Back to viewer",
87
+ "Link_title": "Název odkazu",
88
+ "Local_draft": "Místní koncept",
89
+ "Use_draft": "Použít koncept",
90
+ "Delete_draft": "Smazat koncept",
91
+ "You_have_an_unsaved_draft_do_you_like_to_use_it": "Máte neuložený koncept. Chcete ho použít?",
92
+ "Local_draft_saved": "Místní koncept byl uložen",
93
+ "New_draft": "New draft",
94
+ "View_draft": "View draft",
95
+ "Publish": "Zveřejnit",
96
+ "This_file_has_a_draft": "Tento soubor má koncept.",
97
+ "Delete": "Smazat",
98
+ "Reply": "Odpověď",
99
+ "Comment": "Komentář",
100
+ "Comments": "Komentáře",
101
+ "All_comments": "All comments",
102
+ "Resolved_comments": "Resolved comments",
103
+ "Unresolved_comments": "Unresolved comments",
104
+ "Total_1_comment": "Total 1 comment",
105
+ "Total_count_comments": "Total {{count}} comments",
106
+ "Add_a_comment": "Přidat komentář…",
107
+ "No_comment_yet": "Žádné komentáře",
90
108
  "Mark_as_Resolved": "Označit jako vyřešené",
91
- "ask_for_review": "Požádat o kontrolu",
92
- "review_already_exists": "Kontrola již existuje. ",
93
- "view_review": "Zobrazit kontrolu",
94
- "there_is_an_associated_review_with_this_file": "K tomuto souboru je přiřazená kontrola",
95
- "start_review": "Začít kontrolu",
96
- "this_file_is_in_draft_stage": "Tento soubor je ve fázi návrhu.",
97
- "this_file_is_in_review_stage": "Tento soubor je ve fázi kontroly.",
98
- "this_file_has_been_updated": "Tento soubor byl aktualizován.",
99
- "refresh": "Obnovit",
100
- "related_files": "související soubory",
101
- "related_file": "související soubor",
102
- "no_tags": "Žádné značky",
103
- "no_related_files": "Žádné související soubory",
104
- "Editing_files_in_this_browser_can_lead_to_slight_display_problems": "",
105
- "userHelp": {
109
+ "Resubmit": "Resubmit",
110
+ "Resubmitted": "Resubmitted",
111
+ "Ask_for_review": "Požádat o kontrolu",
112
+ "Review_already_exists": "Kontrola již existuje. ",
113
+ "View_review": "Zobrazit kontrolu",
114
+ "There_is_an_associated_review_with_this_file": "K tomuto souboru je přiřazená kontrola",
115
+ "Start_review": "Začít kontrolu",
116
+ "This_file_is_in_draft_stage": "Tento soubor je ve fázi návrhu.",
117
+ "This_file_is_in_review_stage": "Tento soubor je ve fázi kontroly.",
118
+ "This_file_has_been_updated": "Tento soubor byl aktualizován.",
119
+ "Refresh": "Obnovit",
120
+ "Related_files": "Related files",
121
+ "Related_file": "Related file",
122
+ "No_tags": "Žádné značky",
123
+ "Date": "Datum",
124
+ "Participants": "Účastníci",
125
+ "Meeting_note": "Poznámky ze schůzky",
126
+ "Chooser_document_type": "Výběr typu dokumentu",
127
+ "Empty": "Prázdný",
128
+ "No_related_files": "Žádné související soubory",
129
+ "No_out_line": "Bez obrysu",
130
+ "Editing_files_in_this_browser_can_lead_to_slight_display_problems": "Úpravy souborů v tomto prohlížeči mohou způsobit malé problémy se zobrazením.",
131
+ "No_document_improvement_suggestion": "Žádný návrh na zlepšení dokumentu",
132
+ "Hide_side_panel": "Skrýt postranní panel",
133
+ "Show_side_panel": "Zobrazit postranní panel",
134
+ "Show_resolved_comments": "Zobrazit vyřešené komentáře",
135
+ "Update": "Aktualizovat",
136
+ "Width": "Šířka",
137
+ "Height": "Výška",
138
+ "Full_screen": "Celá obrazovka",
139
+ "Insert_library_image": "Vložit obrázek knihovny",
140
+ "Size": "Velikost",
141
+ "Location": "Umístění",
142
+ "Last_update": "Last update",
143
+ "Tags": "Štítky",
144
+ "Add_participants": "Přidat účastníky",
145
+ "Clear_format": "Clear format",
146
+ "MarkdownLint": {
147
+ "missing_h1": {
148
+ "description": "V dokumentu není žádný h1",
149
+ "issue" : "Chybí h1"
150
+ },
151
+ "heading_end_with_colon": {
152
+ "description": "Koncová interpunkce v záhlaví by neměla být dvojtečka",
153
+ "issue": "Záhlaví končí dvojtečkou"
154
+ },
155
+ "heading_increase_irregular": {
156
+ "description": "Úrovně nadpisů by se měly zvyšovat vždy pouze o jednu úroveň",
157
+ "issue": "Problém s úrovní nadpisu"
158
+ }
159
+ },
160
+ "Shortcut_help": "Shortcut help",
161
+ "User_help": {
106
162
  "title": "Klávesové zkratky",
107
163
  "userHelpData": [
108
164
  {
@@ -144,6 +200,11 @@
144
200
  "Insert_Table_Row": "Vložit řádku tabulky",
145
201
  "Escape_table": "Opustit tabulku"
146
202
  }
203
+ }, {
204
+ "shortcutType": "Zkratky vzorečku",
205
+ "shortcutData": {
206
+ "Insert_Formula": "Insert Formula"
207
+ }
147
208
  }, {
148
209
  "shortcutType":"Řádkové zkratky",
149
210
  "shortcutData": {
@@ -165,5 +226,139 @@
165
226
  }
166
227
  }
167
228
  ]
168
- }
229
+ },
230
+ "The_link_address_is_required": "The link address is required.",
231
+ "The_link_title_is_required": "The link title is required.",
232
+ "The_link_address_is_invalid": "The link address is invalid, please enter a correct connection address.",
233
+ "All_changes_saved": "All changes saved",
234
+ "Saving": "Ukládání…",
235
+ "Collaborators": "Collaborators",
236
+ "Online_members": "Online members",
237
+ "Me": "me",
238
+ "Server_is_not_connected_Operation_will_be_sent_to_server_later": "Server is not connected. Operation will be sent to server later.",
239
+ "Server_is_disconnected_Reconnecting": "Server is disconnected. Reconnecting...",
240
+ "Server_is_reconnected": "Server is reconnected.",
241
+ "Outline": "Outline",
242
+ "Headings_you_add_to_the_document_will_appear_here": "Headings you add to the document will appear here",
243
+ "Open_parent_folder": "Otevřít rodičovský adresář",
244
+ "Redo": "redo",
245
+ "Undo": "undo",
246
+ "Open_link": "Open link",
247
+ "Customize_the_number_of_rows_and_columns": "Customize the number of rows and columns",
248
+ "Rows": "Řádky",
249
+ "Columns": "Sloupce",
250
+ "Please_enter_title": "Please enter title",
251
+ "Please_enter_text": "Please enter text",
252
+ "Row(s)": "row(s)",
253
+ "Column(s)": "column(s)",
254
+ "Insert_below": "Insert below",
255
+ "Insert_above": "Insert above",
256
+ "Insert_on_the_right": "Insert on the right",
257
+ "Insert_on_the_left": "Insert on the left",
258
+ "Starred": "Starred",
259
+ "Unstarred": "Unstarred",
260
+ "Star": "Hvězdička",
261
+ "Unstar": "Odebrat z oblíbených",
262
+ "Auto_wrap": "Auto wrap",
263
+ "Add_comment": "Add comment",
264
+ "Delete_comment": "Delete comment",
265
+ "Delete_reply": "Delete reply",
266
+ "Are_you_sure_to_delete_this_comment": "Are you sure to delete this comment?",
267
+ "Are_you_sure_to_delete_this_reply": "Are you sure to delete this reply?",
268
+ "Enter_a_comment": "Enter a comment",
269
+ "Enter_a_reply": "Enter a reply",
270
+ "Reopen_discussion" : "Adding a reply will reopen this discussion",
271
+ "Confirm": "Potvrdit",
272
+ "View_changes": "View changes",
273
+ "Revision": "Revision",
274
+ "Error": "Chyba",
275
+ "Start_revise": "Start revise",
276
+ "Failed_to_execute_operation_on_server": "Failed to execute operation on server, the current operation has been withdrawn",
277
+ "Start_revise_tip": "Create a temporary document and modify on it, merge it back after reviewing changes",
278
+ "Load_doc_content_error": "Load doc content error",
279
+ "Sdoc_format_invalid": "The content of the document does not conform to the sdoc specification",
280
+ "Draft": "Koncept",
281
+ "Unmark_as_draft": "Unmark as draft",
282
+ "Background_color": "Background color",
283
+ "No_color": "No color",
284
+ "Standard_color": "Standard color",
285
+ "Recently_used": "Recently used",
286
+ "More_color": "More color",
287
+ "White": "White",
288
+ "Black": "Black",
289
+ "Blue_grey": "Blue_grey",
290
+ "Blue": "Blue",
291
+ "Sky_blue": "Sky_blue",
292
+ "Green": "Green",
293
+ "Red": "Red",
294
+ "Orange": "Orange",
295
+ "Yellow": "Yellow",
296
+ "Purple": "Purple",
297
+ "Light_grey_x": "Light grey {{value}}",
298
+ "Dark_grey_x": "Dark grey {{value}}",
299
+ "Light_blue_grey_x": "Light blue grey {{value}}",
300
+ "Light_blue_x": "Light blue {{value}}",
301
+ "Light_sky_blue_x": "Light sky blue {{value}}",
302
+ "Light_green_x": "Light green {{value}}",
303
+ "Light_red_x": "Light red {{value}}",
304
+ "Light_orange_x": "Light orange {{value}}",
305
+ "Light_yellow_x": "Light yellow {{value}}",
306
+ "Light_purple_x": "Light purple {{value}}",
307
+ "Dark_blue_grey_x": "Dark blue grey {{value}}",
308
+ "Dark_blue_x": "Dark blue {{value}}",
309
+ "Dark_sky_blue_x": "Dark sky blue {{value}}",
310
+ "Dark_green_x": "Dark green {{value}}",
311
+ "Dark_red_x": "Dark red {{value}}",
312
+ "Dark_orange_x": "Dark orange {{value}}",
313
+ "Dark_yellow_x": "Dark yellow {{value}}",
314
+ "Dark_purple_x": "Dark purple {{value}}",
315
+ "Standard_dark_red": "Standard dark red",
316
+ "Standard_red": "Standard red",
317
+ "Standard_orange": "Standard orange",
318
+ "Standard_yellow": "Standard yellow",
319
+ "Standard_light_green": "Standard light green",
320
+ "Standard_green": "Standard green",
321
+ "Standard_light_blue": "Standard light blue",
322
+ "Standard_blue": "Standard blue",
323
+ "Standard_dark_blue": "Standard dark blue",
324
+ "Standard_purple": "Standard purple",
325
+ "Highlight_color": "Highlight",
326
+ "Font_color": "Font color",
327
+ "Default": "Výchozí",
328
+ "No_revisions": "No revisions",
329
+ "1_revision": "1 revision",
330
+ "x_revisions": "{{count}} revisions",
331
+ "Creator": "Vytvořil",
332
+ "Created_time": "Created time",
333
+ "Created_at": "Created at",
334
+ "Resolved_tip": "Mark as resolved and hide discussion",
335
+ "Search_language": "Search language",
336
+ "Sdoc_error_tip": "The document has errors and cannot be displayed. Please try to fix it automatically by clicking the button below.",
337
+ "Repair": "Repair",
338
+ "Font_size": "Font size",
339
+ "Increase_font_size": "Increase font size",
340
+ "Reduce_font_size": "Reduce font size",
341
+ "Font": "Font",
342
+ "All_fonts": "All fonts",
343
+ "Default_font": "Default font",
344
+ "Pending_operations_exceed_limit": "There are multiple operations not synced to the server. Please check your network.",
345
+ "Recently_saved": "Recently saved",
346
+ "Sdoc_document" : "Sdoc document",
347
+ "Text_Link": "Text Link",
348
+ "Icon_and_text_Link": "Icon and text Link",
349
+ "Card": "Card",
350
+ "Select_sdoc_document": "Select sdoc document",
351
+ "Local_file": "Local file",
352
+ "Internal_server_exec_operations_error": "An exception occurred on the server, please refresh the page and try again",
353
+ "Failed_to_sync_with_server_operations": "Synchronization with the server failed, please refresh the page",
354
+ "Style": "Style",
355
+ "Insert": "Insert",
356
+ "Image": "Obrázek",
357
+ "Table": "Tabulka",
358
+ "Link": "Odkaz",
359
+ "Transform_to": "Transform to",
360
+ "Last_modification": "Last modification",
361
+ "Next_modification": "Next modification",
362
+ "Changes": "Změny",
363
+ "No_changes": "No changes"
169
364
  }