@cyberyozh/text-editor 0.1.8 → 0.1.10

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.
@@ -105,7 +105,7 @@
105
105
  flex: 1;
106
106
  min-width: 0;
107
107
  font-size: var(--tiptap-font-size);
108
- line-height: 1;
108
+ line-height: 140%;
109
109
  }
110
110
 
111
111
  .callout-content {
@@ -32,7 +32,11 @@
32
32
  "invalidUrl": "Invalid URL",
33
33
  "emptyUrl": "Enter link URL",
34
34
  "addLinkTitle": "Add link",
35
- "removeLinkTitle": "Remove link"
35
+ "removeLinkTitle": "Remove link",
36
+ "openInNewTab": "Open in new tab",
37
+ "openInNewTabHelp": "Link will open in a new browser window or tab",
38
+ "addNofollow": "Add rel=\"nofollow\"",
39
+ "addNofollowHelp": "Tells search engines not to count this link when calculating page rankings and indexing. Recommended for all external links."
36
40
  },
37
41
  "lists": {
38
42
  "bulletList": "Bullet list",
@@ -32,7 +32,11 @@
32
32
  "invalidUrl": "Неверный URL",
33
33
  "emptyUrl": "Введите URL ссылки",
34
34
  "addLinkTitle": "Добавить ссылку",
35
- "removeLinkTitle": "Удалить ссылку"
35
+ "removeLinkTitle": "Удалить ссылку",
36
+ "openInNewTab": "Открыть в новой вкладке",
37
+ "openInNewTabHelp": "Ссылка откроется в новом окне или вкладке браузера",
38
+ "addNofollow": "Добавить rel=\"nofollow\"",
39
+ "addNofollowHelp": "Указывает поисковым системам не учитывать ссылку при расчете рейтинга и индексации страницы, на которой они размещены. Рекомендуется применять ко всем ссылкам на сторонние сайты."
36
40
  },
37
41
  "lists": {
38
42
  "bulletList": "Ненумерованный список",
@@ -1,6 +1,7 @@
1
1
  export interface ImageUploadResult {
2
2
  fileId?: string;
3
3
  fileUrl?: string;
4
+ storageKey?: string;
4
5
  }
5
6
 
6
7
  export interface ImageUploadHandler {
@@ -24,6 +25,7 @@ export interface FigureAttrs {
24
25
  caption?: string;
25
26
  width?: number | null;
26
27
  height?: number | null;
28
+ storageKey?: string;
27
29
  }
28
30
 
29
31
  export interface TiptapImageAttrs extends FigureAttrs {}
@@ -0,0 +1,9 @@
1
+ export interface LinkDialogContextProps extends LinkAttrsType {
2
+ title?: string;
3
+ }
4
+
5
+ export interface LinkAttrsType {
6
+ href: string;
7
+ target: string;
8
+ rel: string | null;
9
+ }