@atlaskit/editor-core 185.16.1 → 185.16.5
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.
- package/.eslintrc.js +1 -0
- package/CHANGELOG.md +14 -0
- package/dist/cjs/i18n/cs.js +0 -35
- package/dist/cjs/i18n/da.js +0 -35
- package/dist/cjs/i18n/de.js +0 -35
- package/dist/cjs/i18n/en.js +0 -35
- package/dist/cjs/i18n/en_GB.js +0 -35
- package/dist/cjs/i18n/en_ZZ.js +0 -35
- package/dist/cjs/i18n/es.js +1 -35
- package/dist/cjs/i18n/fi.js +0 -35
- package/dist/cjs/i18n/fr.js +1 -35
- package/dist/cjs/i18n/hu.js +1 -35
- package/dist/cjs/i18n/it.js +1 -35
- package/dist/cjs/i18n/ja.js +1 -35
- package/dist/cjs/i18n/ko.js +0 -35
- package/dist/cjs/i18n/nb.js +1 -35
- package/dist/cjs/i18n/nl.js +1 -35
- package/dist/cjs/i18n/pl.js +1 -35
- package/dist/cjs/i18n/pt_BR.js +1 -35
- package/dist/cjs/i18n/ru.js +1 -35
- package/dist/cjs/i18n/sv.js +0 -35
- package/dist/cjs/i18n/th.js +0 -35
- package/dist/cjs/i18n/tr.js +1 -35
- package/dist/cjs/i18n/uk.js +1 -35
- package/dist/cjs/i18n/vi.js +0 -35
- package/dist/cjs/i18n/zh.js +1 -35
- package/dist/cjs/i18n/zh_TW.js +1 -35
- package/dist/cjs/labs/next/presets/mobile.js +1 -1
- package/dist/cjs/labs/next/presets/universal.js +2 -2
- package/dist/cjs/plugins/deprecated-card/doc.js +111 -0
- package/dist/cjs/plugins/deprecated-hyperlink/commands.js +1 -1
- package/dist/cjs/plugins/index.js +0 -7
- package/dist/cjs/plugins/media/nodeviews/mediaSingle.js +14 -25
- package/dist/cjs/plugins/media/ui/ResizableMediaSingle/index.js +39 -27
- package/dist/cjs/plugins/text-formatting/commands/clear-formatting.js +5 -6
- package/dist/cjs/plugins/text-formatting/index.js +6 -2
- package/dist/cjs/plugins/text-formatting/pm-plugins/clear-formatting-keymap.js +2 -2
- package/dist/cjs/plugins/text-formatting/ui/Toolbar/hooks/clear-formatting-icon.js +6 -3
- package/dist/cjs/plugins/text-formatting/ui/Toolbar/index.js +8 -4
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/i18n/cs.js +0 -35
- package/dist/es2019/i18n/da.js +0 -35
- package/dist/es2019/i18n/de.js +0 -35
- package/dist/es2019/i18n/en.js +0 -35
- package/dist/es2019/i18n/en_GB.js +0 -35
- package/dist/es2019/i18n/en_ZZ.js +0 -35
- package/dist/es2019/i18n/es.js +1 -35
- package/dist/es2019/i18n/fi.js +0 -35
- package/dist/es2019/i18n/fr.js +1 -35
- package/dist/es2019/i18n/hu.js +1 -35
- package/dist/es2019/i18n/it.js +1 -35
- package/dist/es2019/i18n/ja.js +1 -35
- package/dist/es2019/i18n/ko.js +0 -35
- package/dist/es2019/i18n/nb.js +1 -35
- package/dist/es2019/i18n/nl.js +1 -35
- package/dist/es2019/i18n/pl.js +1 -35
- package/dist/es2019/i18n/pt_BR.js +1 -35
- package/dist/es2019/i18n/ru.js +1 -35
- package/dist/es2019/i18n/sv.js +0 -35
- package/dist/es2019/i18n/th.js +0 -35
- package/dist/es2019/i18n/tr.js +1 -35
- package/dist/es2019/i18n/uk.js +1 -35
- package/dist/es2019/i18n/vi.js +0 -35
- package/dist/es2019/i18n/zh.js +1 -35
- package/dist/es2019/i18n/zh_TW.js +1 -35
- package/dist/es2019/labs/next/presets/mobile.js +1 -1
- package/dist/es2019/labs/next/presets/universal.js +1 -1
- package/dist/es2019/plugins/deprecated-card/doc.js +97 -0
- package/dist/es2019/plugins/deprecated-hyperlink/commands.js +1 -1
- package/dist/es2019/plugins/index.js +0 -1
- package/dist/es2019/plugins/media/nodeviews/mediaSingle.js +2 -14
- package/dist/es2019/plugins/media/ui/ResizableMediaSingle/index.js +13 -0
- package/dist/es2019/plugins/text-formatting/commands/clear-formatting.js +5 -6
- package/dist/es2019/plugins/text-formatting/index.js +8 -3
- package/dist/es2019/plugins/text-formatting/pm-plugins/clear-formatting-keymap.js +2 -2
- package/dist/es2019/plugins/text-formatting/ui/Toolbar/hooks/clear-formatting-icon.js +5 -4
- package/dist/es2019/plugins/text-formatting/ui/Toolbar/index.js +8 -4
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/i18n/cs.js +0 -35
- package/dist/esm/i18n/da.js +0 -35
- package/dist/esm/i18n/de.js +0 -35
- package/dist/esm/i18n/en.js +0 -35
- package/dist/esm/i18n/en_GB.js +0 -35
- package/dist/esm/i18n/en_ZZ.js +0 -35
- package/dist/esm/i18n/es.js +1 -35
- package/dist/esm/i18n/fi.js +0 -35
- package/dist/esm/i18n/fr.js +1 -35
- package/dist/esm/i18n/hu.js +1 -35
- package/dist/esm/i18n/it.js +1 -35
- package/dist/esm/i18n/ja.js +1 -35
- package/dist/esm/i18n/ko.js +0 -35
- package/dist/esm/i18n/nb.js +1 -35
- package/dist/esm/i18n/nl.js +1 -35
- package/dist/esm/i18n/pl.js +1 -35
- package/dist/esm/i18n/pt_BR.js +1 -35
- package/dist/esm/i18n/ru.js +1 -35
- package/dist/esm/i18n/sv.js +0 -35
- package/dist/esm/i18n/th.js +0 -35
- package/dist/esm/i18n/tr.js +1 -35
- package/dist/esm/i18n/uk.js +1 -35
- package/dist/esm/i18n/vi.js +0 -35
- package/dist/esm/i18n/zh.js +1 -35
- package/dist/esm/i18n/zh_TW.js +1 -35
- package/dist/esm/labs/next/presets/mobile.js +1 -1
- package/dist/esm/labs/next/presets/universal.js +1 -1
- package/dist/esm/plugins/deprecated-card/doc.js +105 -0
- package/dist/esm/plugins/deprecated-hyperlink/commands.js +1 -1
- package/dist/esm/plugins/index.js +0 -1
- package/dist/esm/plugins/media/nodeviews/mediaSingle.js +14 -25
- package/dist/esm/plugins/media/ui/ResizableMediaSingle/index.js +39 -27
- package/dist/esm/plugins/text-formatting/commands/clear-formatting.js +5 -6
- package/dist/esm/plugins/text-formatting/index.js +6 -2
- package/dist/esm/plugins/text-formatting/pm-plugins/clear-formatting-keymap.js +2 -2
- package/dist/esm/plugins/text-formatting/ui/Toolbar/hooks/clear-formatting-icon.js +7 -4
- package/dist/esm/plugins/text-formatting/ui/Toolbar/index.js +8 -4
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/i18n/cs.d.ts +0 -35
- package/dist/types/i18n/da.d.ts +0 -35
- package/dist/types/i18n/de.d.ts +0 -35
- package/dist/types/i18n/en.d.ts +0 -35
- package/dist/types/i18n/en_GB.d.ts +0 -35
- package/dist/types/i18n/en_ZZ.d.ts +0 -35
- package/dist/types/i18n/es.d.ts +1 -35
- package/dist/types/i18n/fi.d.ts +0 -35
- package/dist/types/i18n/fr.d.ts +1 -35
- package/dist/types/i18n/hu.d.ts +1 -35
- package/dist/types/i18n/it.d.ts +1 -35
- package/dist/types/i18n/ja.d.ts +1 -35
- package/dist/types/i18n/ko.d.ts +0 -35
- package/dist/types/i18n/nb.d.ts +1 -35
- package/dist/types/i18n/nl.d.ts +1 -35
- package/dist/types/i18n/pl.d.ts +1 -35
- package/dist/types/i18n/pt_BR.d.ts +1 -35
- package/dist/types/i18n/ru.d.ts +1 -35
- package/dist/types/i18n/sv.d.ts +0 -35
- package/dist/types/i18n/th.d.ts +0 -35
- package/dist/types/i18n/tr.d.ts +1 -35
- package/dist/types/i18n/uk.d.ts +1 -35
- package/dist/types/i18n/vi.d.ts +0 -35
- package/dist/types/i18n/zh.d.ts +1 -35
- package/dist/types/i18n/zh_TW.d.ts +1 -35
- package/dist/types/labs/next/presets/cxhtml.d.ts +58 -0
- package/dist/types/labs/next/presets/default.d.ts +116 -0
- package/dist/types/labs/next/presets/mobile.d.ts +58 -0
- package/dist/types/plugins/deprecated-card/doc.d.ts +20 -0
- package/dist/types/plugins/index.d.ts +0 -1
- package/dist/types/plugins/media/nodeviews/mediaSingle.d.ts +0 -1
- package/dist/types/plugins/media/ui/ResizableMediaSingle/index.d.ts +1 -0
- package/dist/types/plugins/media/ui/ResizableMediaSingle/types.d.ts +3 -2
- package/dist/types/plugins/paste/index.d.ts +1 -1
- package/dist/types/plugins/text-formatting/commands/clear-formatting.d.ts +3 -3
- package/dist/types/plugins/text-formatting/index.d.ts +3 -1
- package/dist/types/plugins/text-formatting/pm-plugins/clear-formatting-keymap.d.ts +2 -1
- package/dist/types/plugins/text-formatting/ui/Toolbar/hooks/clear-formatting-icon.d.ts +6 -1
- package/dist/types/plugins/text-formatting/ui/Toolbar/index.d.ts +2 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -35
- package/dist/types-ts4.5/i18n/da.d.ts +0 -35
- package/dist/types-ts4.5/i18n/de.d.ts +0 -35
- package/dist/types-ts4.5/i18n/en.d.ts +0 -35
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -35
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -35
- package/dist/types-ts4.5/i18n/es.d.ts +1 -35
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -35
- package/dist/types-ts4.5/i18n/fr.d.ts +1 -35
- package/dist/types-ts4.5/i18n/hu.d.ts +1 -35
- package/dist/types-ts4.5/i18n/it.d.ts +1 -35
- package/dist/types-ts4.5/i18n/ja.d.ts +1 -35
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -35
- package/dist/types-ts4.5/i18n/nb.d.ts +1 -35
- package/dist/types-ts4.5/i18n/nl.d.ts +1 -35
- package/dist/types-ts4.5/i18n/pl.d.ts +1 -35
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -35
- package/dist/types-ts4.5/i18n/ru.d.ts +1 -35
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -35
- package/dist/types-ts4.5/i18n/th.d.ts +0 -35
- package/dist/types-ts4.5/i18n/tr.d.ts +1 -35
- package/dist/types-ts4.5/i18n/uk.d.ts +1 -35
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -35
- package/dist/types-ts4.5/i18n/zh.d.ts +1 -35
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +1 -35
- package/dist/types-ts4.5/labs/next/presets/cxhtml.d.ts +70 -0
- package/dist/types-ts4.5/labs/next/presets/default.d.ts +140 -0
- package/dist/types-ts4.5/labs/next/presets/mobile.d.ts +70 -0
- package/dist/types-ts4.5/plugins/deprecated-card/doc.d.ts +20 -0
- package/dist/types-ts4.5/plugins/index.d.ts +0 -1
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaSingle.d.ts +0 -1
- package/dist/types-ts4.5/plugins/media/ui/ResizableMediaSingle/index.d.ts +1 -0
- package/dist/types-ts4.5/plugins/media/ui/ResizableMediaSingle/types.d.ts +3 -2
- package/dist/types-ts4.5/plugins/paste/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/text-formatting/commands/clear-formatting.d.ts +3 -3
- package/dist/types-ts4.5/plugins/text-formatting/index.d.ts +5 -1
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/clear-formatting-keymap.d.ts +2 -1
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/hooks/clear-formatting-icon.d.ts +6 -1
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/index.d.ts +2 -0
- package/package.json +6 -5
- package/tmp/api-report-tmp.d.ts +2307 -0
- package/dist/cjs/plugins/card/index.js +0 -139
- package/dist/cjs/plugins/card/messages.js +0 -20
- package/dist/cjs/plugins/card/nodeviews/blockCard.js +0 -163
- package/dist/cjs/plugins/card/nodeviews/datasource.js +0 -172
- package/dist/cjs/plugins/card/nodeviews/embedCard.js +0 -396
- package/dist/cjs/plugins/card/nodeviews/genericCard.js +0 -118
- package/dist/cjs/plugins/card/nodeviews/inlineCard.js +0 -131
- package/dist/cjs/plugins/card/pm-plugins/actions.js +0 -122
- package/dist/cjs/plugins/card/pm-plugins/analytics/create-analytics-queue.js +0 -48
- package/dist/cjs/plugins/card/pm-plugins/analytics/events-from-tr.js +0 -353
- package/dist/cjs/plugins/card/pm-plugins/analytics/index.js +0 -19
- package/dist/cjs/plugins/card/pm-plugins/analytics/types.js +0 -5
- package/dist/cjs/plugins/card/pm-plugins/analytics/utils.js +0 -178
- package/dist/cjs/plugins/card/pm-plugins/doc.js +0 -478
- package/dist/cjs/plugins/card/pm-plugins/keymap.js +0 -64
- package/dist/cjs/plugins/card/pm-plugins/main.js +0 -212
- package/dist/cjs/plugins/card/pm-plugins/mountHyperlink.js +0 -47
- package/dist/cjs/plugins/card/pm-plugins/plugin-key.js +0 -9
- package/dist/cjs/plugins/card/pm-plugins/reducers.js +0 -111
- package/dist/cjs/plugins/card/pm-plugins/shouldReplaceLink.js +0 -35
- package/dist/cjs/plugins/card/pm-plugins/util/resolve.js +0 -58
- package/dist/cjs/plugins/card/pm-plugins/util/state.js +0 -49
- package/dist/cjs/plugins/card/toolbar.js +0 -364
- package/dist/cjs/plugins/card/types.js +0 -5
- package/dist/cjs/plugins/card/ui/DatasourceModal/ModalWithState.js +0 -25
- package/dist/cjs/plugins/card/ui/DatasourceModal/index.js +0 -60
- package/dist/cjs/plugins/card/ui/EditLinkToolbar.js +0 -256
- package/dist/cjs/plugins/card/ui/EditorSmartCardEvents.js +0 -21
- package/dist/cjs/plugins/card/ui/EditorSmartCardEventsNext.js +0 -213
- package/dist/cjs/plugins/card/ui/HyperlinkToolbarAppearance.js +0 -173
- package/dist/cjs/plugins/card/ui/LayoutButton/index.js +0 -113
- package/dist/cjs/plugins/card/ui/LayoutButton/styled.js +0 -17
- package/dist/cjs/plugins/card/ui/LayoutButton/types.js +0 -5
- package/dist/cjs/plugins/card/ui/LayoutButton/utils.js +0 -19
- package/dist/cjs/plugins/card/ui/LinkToolbarAppearance.js +0 -151
- package/dist/cjs/plugins/card/ui/ResizableEmbedCard.js +0 -360
- package/dist/cjs/plugins/card/ui/SmallerEditIcon.js +0 -20
- package/dist/cjs/plugins/card/utils.js +0 -60
- package/dist/es2019/plugins/card/index.js +0 -131
- package/dist/es2019/plugins/card/messages.js +0 -13
- package/dist/es2019/plugins/card/nodeviews/blockCard.js +0 -130
- package/dist/es2019/plugins/card/nodeviews/datasource.js +0 -136
- package/dist/es2019/plugins/card/nodeviews/embedCard.js +0 -368
- package/dist/es2019/plugins/card/nodeviews/genericCard.js +0 -92
- package/dist/es2019/plugins/card/nodeviews/inlineCard.js +0 -112
- package/dist/es2019/plugins/card/pm-plugins/actions.js +0 -57
- package/dist/es2019/plugins/card/pm-plugins/analytics/create-analytics-queue.js +0 -38
- package/dist/es2019/plugins/card/pm-plugins/analytics/events-from-tr.js +0 -333
- package/dist/es2019/plugins/card/pm-plugins/analytics/index.js +0 -2
- package/dist/es2019/plugins/card/pm-plugins/analytics/types.js +0 -1
- package/dist/es2019/plugins/card/pm-plugins/analytics/utils.js +0 -160
- package/dist/es2019/plugins/card/pm-plugins/doc.js +0 -451
- package/dist/es2019/plugins/card/pm-plugins/keymap.js +0 -59
- package/dist/es2019/plugins/card/pm-plugins/main.js +0 -208
- package/dist/es2019/plugins/card/pm-plugins/mountHyperlink.js +0 -37
- package/dist/es2019/plugins/card/pm-plugins/plugin-key.js +0 -2
- package/dist/es2019/plugins/card/pm-plugins/reducers.js +0 -110
- package/dist/es2019/plugins/card/pm-plugins/shouldReplaceLink.js +0 -25
- package/dist/es2019/plugins/card/pm-plugins/util/resolve.js +0 -48
- package/dist/es2019/plugins/card/pm-plugins/util/state.js +0 -26
- package/dist/es2019/plugins/card/toolbar.js +0 -362
- package/dist/es2019/plugins/card/types.js +0 -1
- package/dist/es2019/plugins/card/ui/DatasourceModal/ModalWithState.js +0 -19
- package/dist/es2019/plugins/card/ui/DatasourceModal/index.js +0 -48
- package/dist/es2019/plugins/card/ui/EditLinkToolbar.js +0 -225
- package/dist/es2019/plugins/card/ui/EditorSmartCardEvents.js +0 -15
- package/dist/es2019/plugins/card/ui/EditorSmartCardEventsNext.js +0 -198
- package/dist/es2019/plugins/card/ui/HyperlinkToolbarAppearance.js +0 -86
- package/dist/es2019/plugins/card/ui/LayoutButton/index.js +0 -106
- package/dist/es2019/plugins/card/ui/LayoutButton/styled.js +0 -10
- package/dist/es2019/plugins/card/ui/LayoutButton/types.js +0 -1
- package/dist/es2019/plugins/card/ui/LayoutButton/utils.js +0 -15
- package/dist/es2019/plugins/card/ui/LinkToolbarAppearance.js +0 -117
- package/dist/es2019/plugins/card/ui/ResizableEmbedCard.js +0 -332
- package/dist/es2019/plugins/card/ui/SmallerEditIcon.js +0 -11
- package/dist/es2019/plugins/card/utils.js +0 -46
- package/dist/esm/plugins/card/index.js +0 -132
- package/dist/esm/plugins/card/messages.js +0 -13
- package/dist/esm/plugins/card/nodeviews/blockCard.js +0 -155
- package/dist/esm/plugins/card/nodeviews/datasource.js +0 -164
- package/dist/esm/plugins/card/nodeviews/embedCard.js +0 -387
- package/dist/esm/plugins/card/nodeviews/genericCard.js +0 -111
- package/dist/esm/plugins/card/nodeviews/inlineCard.js +0 -123
- package/dist/esm/plugins/card/pm-plugins/actions.js +0 -102
- package/dist/esm/plugins/card/pm-plugins/analytics/create-analytics-queue.js +0 -41
- package/dist/esm/plugins/card/pm-plugins/analytics/events-from-tr.js +0 -344
- package/dist/esm/plugins/card/pm-plugins/analytics/index.js +0 -2
- package/dist/esm/plugins/card/pm-plugins/analytics/types.js +0 -1
- package/dist/esm/plugins/card/pm-plugins/analytics/utils.js +0 -160
- package/dist/esm/plugins/card/pm-plugins/doc.js +0 -460
- package/dist/esm/plugins/card/pm-plugins/keymap.js +0 -58
- package/dist/esm/plugins/card/pm-plugins/main.js +0 -199
- package/dist/esm/plugins/card/pm-plugins/mountHyperlink.js +0 -39
- package/dist/esm/plugins/card/pm-plugins/plugin-key.js +0 -2
- package/dist/esm/plugins/card/pm-plugins/reducers.js +0 -103
- package/dist/esm/plugins/card/pm-plugins/shouldReplaceLink.js +0 -29
- package/dist/esm/plugins/card/pm-plugins/util/resolve.js +0 -50
- package/dist/esm/plugins/card/pm-plugins/util/state.js +0 -40
- package/dist/esm/plugins/card/toolbar.js +0 -353
- package/dist/esm/plugins/card/types.js +0 -1
- package/dist/esm/plugins/card/ui/DatasourceModal/ModalWithState.js +0 -17
- package/dist/esm/plugins/card/ui/DatasourceModal/index.js +0 -49
- package/dist/esm/plugins/card/ui/EditLinkToolbar.js +0 -243
- package/dist/esm/plugins/card/ui/EditorSmartCardEvents.js +0 -14
- package/dist/esm/plugins/card/ui/EditorSmartCardEventsNext.js +0 -202
- package/dist/esm/plugins/card/ui/HyperlinkToolbarAppearance.js +0 -163
- package/dist/esm/plugins/card/ui/LayoutButton/index.js +0 -102
- package/dist/esm/plugins/card/ui/LayoutButton/styled.js +0 -10
- package/dist/esm/plugins/card/ui/LayoutButton/types.js +0 -1
- package/dist/esm/plugins/card/ui/LayoutButton/utils.js +0 -12
- package/dist/esm/plugins/card/ui/LinkToolbarAppearance.js +0 -140
- package/dist/esm/plugins/card/ui/ResizableEmbedCard.js +0 -355
- package/dist/esm/plugins/card/ui/SmallerEditIcon.js +0 -11
- package/dist/esm/plugins/card/utils.js +0 -48
- package/dist/types/plugins/card/index.d.ts +0 -26
- package/dist/types/plugins/card/messages.d.ts +0 -12
- package/dist/types/plugins/card/nodeviews/blockCard.d.ts +0 -26
- package/dist/types/plugins/card/nodeviews/datasource.d.ts +0 -42
- package/dist/types/plugins/card/nodeviews/embedCard.d.ts +0 -46
- package/dist/types/plugins/card/nodeviews/genericCard.d.ts +0 -37
- package/dist/types/plugins/card/nodeviews/inlineCard.d.ts +0 -23
- package/dist/types/plugins/card/pm-plugins/actions.d.ts +0 -23
- package/dist/types/plugins/card/pm-plugins/analytics/create-analytics-queue.d.ts +0 -10
- package/dist/types/plugins/card/pm-plugins/analytics/events-from-tr.d.ts +0 -17
- package/dist/types/plugins/card/pm-plugins/analytics/index.d.ts +0 -2
- package/dist/types/plugins/card/pm-plugins/analytics/types.d.ts +0 -12
- package/dist/types/plugins/card/pm-plugins/analytics/utils.d.ts +0 -32
- package/dist/types/plugins/card/pm-plugins/doc.d.ts +0 -23
- package/dist/types/plugins/card/pm-plugins/keymap.d.ts +0 -3
- package/dist/types/plugins/card/pm-plugins/main.d.ts +0 -6
- package/dist/types/plugins/card/pm-plugins/mountHyperlink.d.ts +0 -5
- package/dist/types/plugins/card/pm-plugins/plugin-key.d.ts +0 -3
- package/dist/types/plugins/card/pm-plugins/reducers.d.ts +0 -3
- package/dist/types/plugins/card/pm-plugins/shouldReplaceLink.d.ts +0 -2
- package/dist/types/plugins/card/pm-plugins/util/resolve.d.ts +0 -8
- package/dist/types/plugins/card/pm-plugins/util/state.d.ts +0 -31
- package/dist/types/plugins/card/toolbar.d.ts +0 -12
- package/dist/types/plugins/card/types.d.ts +0 -165
- package/dist/types/plugins/card/ui/DatasourceModal/ModalWithState.d.ts +0 -9
- package/dist/types/plugins/card/ui/DatasourceModal/index.d.ts +0 -11
- package/dist/types/plugins/card/ui/EditLinkToolbar.d.ts +0 -47
- package/dist/types/plugins/card/ui/EditorSmartCardEvents.d.ts +0 -5
- package/dist/types/plugins/card/ui/EditorSmartCardEventsNext.d.ts +0 -18
- package/dist/types/plugins/card/ui/HyperlinkToolbarAppearance.d.ts +0 -32
- package/dist/types/plugins/card/ui/LayoutButton/index.d.ts +0 -9
- package/dist/types/plugins/card/ui/LayoutButton/styled.d.ts +0 -1
- package/dist/types/plugins/card/ui/LayoutButton/types.d.ts +0 -19
- package/dist/types/plugins/card/ui/LayoutButton/utils.d.ts +0 -5
- package/dist/types/plugins/card/ui/LinkToolbarAppearance.d.ts +0 -29
- package/dist/types/plugins/card/ui/ResizableEmbedCard.d.ts +0 -61
- package/dist/types/plugins/card/ui/SmallerEditIcon.d.ts +0 -3
- package/dist/types/plugins/card/utils.d.ts +0 -19
- package/dist/types-ts4.5/plugins/card/index.d.ts +0 -26
- package/dist/types-ts4.5/plugins/card/messages.d.ts +0 -12
- package/dist/types-ts4.5/plugins/card/nodeviews/blockCard.d.ts +0 -26
- package/dist/types-ts4.5/plugins/card/nodeviews/datasource.d.ts +0 -42
- package/dist/types-ts4.5/plugins/card/nodeviews/embedCard.d.ts +0 -46
- package/dist/types-ts4.5/plugins/card/nodeviews/genericCard.d.ts +0 -37
- package/dist/types-ts4.5/plugins/card/nodeviews/inlineCard.d.ts +0 -23
- package/dist/types-ts4.5/plugins/card/pm-plugins/actions.d.ts +0 -23
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/create-analytics-queue.d.ts +0 -10
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/events-from-tr.d.ts +0 -17
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/index.d.ts +0 -2
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/types.d.ts +0 -12
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/utils.d.ts +0 -32
- package/dist/types-ts4.5/plugins/card/pm-plugins/doc.d.ts +0 -23
- package/dist/types-ts4.5/plugins/card/pm-plugins/keymap.d.ts +0 -3
- package/dist/types-ts4.5/plugins/card/pm-plugins/main.d.ts +0 -6
- package/dist/types-ts4.5/plugins/card/pm-plugins/mountHyperlink.d.ts +0 -5
- package/dist/types-ts4.5/plugins/card/pm-plugins/plugin-key.d.ts +0 -3
- package/dist/types-ts4.5/plugins/card/pm-plugins/reducers.d.ts +0 -3
- package/dist/types-ts4.5/plugins/card/pm-plugins/shouldReplaceLink.d.ts +0 -2
- package/dist/types-ts4.5/plugins/card/pm-plugins/util/resolve.d.ts +0 -8
- package/dist/types-ts4.5/plugins/card/pm-plugins/util/state.d.ts +0 -31
- package/dist/types-ts4.5/plugins/card/toolbar.d.ts +0 -12
- package/dist/types-ts4.5/plugins/card/types.d.ts +0 -165
- package/dist/types-ts4.5/plugins/card/ui/DatasourceModal/ModalWithState.d.ts +0 -9
- package/dist/types-ts4.5/plugins/card/ui/DatasourceModal/index.d.ts +0 -11
- package/dist/types-ts4.5/plugins/card/ui/EditLinkToolbar.d.ts +0 -47
- package/dist/types-ts4.5/plugins/card/ui/EditorSmartCardEvents.d.ts +0 -5
- package/dist/types-ts4.5/plugins/card/ui/EditorSmartCardEventsNext.d.ts +0 -18
- package/dist/types-ts4.5/plugins/card/ui/HyperlinkToolbarAppearance.d.ts +0 -32
- package/dist/types-ts4.5/plugins/card/ui/LayoutButton/index.d.ts +0 -9
- package/dist/types-ts4.5/plugins/card/ui/LayoutButton/styled.d.ts +0 -1
- package/dist/types-ts4.5/plugins/card/ui/LayoutButton/types.d.ts +0 -19
- package/dist/types-ts4.5/plugins/card/ui/LayoutButton/utils.d.ts +0 -5
- package/dist/types-ts4.5/plugins/card/ui/LinkToolbarAppearance.d.ts +0 -29
- package/dist/types-ts4.5/plugins/card/ui/ResizableEmbedCard.d.ts +0 -61
- package/dist/types-ts4.5/plugins/card/ui/SmallerEditIcon.d.ts +0 -3
- package/dist/types-ts4.5/plugins/card/utils.d.ts +0 -19
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.queueCardsFromChangedTr = void 0;
|
|
7
|
+
var _card = require("@atlaskit/editor-common/card");
|
|
8
|
+
var _utils = require("@atlaskit/editor-common/utils");
|
|
9
|
+
var _adfSchema = require("@atlaskit/adf-schema");
|
|
10
|
+
var _paste = require("@atlaskit/editor-common/paste");
|
|
11
|
+
/**
|
|
12
|
+
* WARNING!!!
|
|
13
|
+
* Copied from `editor-plugin-card`.
|
|
14
|
+
*
|
|
15
|
+
* This workaround is used since we extracted the hyperlink + card plugins.
|
|
16
|
+
* It is only used in `deprecated-hyperlink`. It should not be used internally or externally.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
// TODO: ED-15663
|
|
21
|
+
// Please, do not copy or use this kind of code below
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
var pluginKey = {
|
|
24
|
+
key: 'cardPlugin$',
|
|
25
|
+
getState: function getState(state) {
|
|
26
|
+
return state['cardPlugin$'];
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
function shouldReplaceLink(node) {
|
|
30
|
+
var compareLinkText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
31
|
+
var compareToUrl = arguments.length > 2 ? arguments[2] : undefined;
|
|
32
|
+
var linkMark = node.marks.find(function (mark) {
|
|
33
|
+
return mark.type.name === 'link';
|
|
34
|
+
});
|
|
35
|
+
if (!linkMark) {
|
|
36
|
+
// not a link anymore
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// ED-6041: compare normalised link text after linkfy from Markdown transformer
|
|
41
|
+
// instead, since it always decodes URL ('%20' -> ' ') on the link text
|
|
42
|
+
|
|
43
|
+
var normalisedHref = (0, _adfSchema.normalizeUrl)(_paste.md.normalizeLinkText(linkMark.attrs.href));
|
|
44
|
+
var normalizedLinkText = (0, _adfSchema.normalizeUrl)(_paste.md.normalizeLinkText(node.text || ''));
|
|
45
|
+
if (compareLinkText && normalisedHref !== normalizedLinkText) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
if (compareToUrl) {
|
|
49
|
+
var normalizedUrl = (0, _adfSchema.normalizeUrl)(_paste.md.normalizeLinkText(compareToUrl));
|
|
50
|
+
if (normalizedUrl !== normalisedHref) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
var cardAction = function cardAction(tr, action) {
|
|
57
|
+
return tr.setMeta(pluginKey, action);
|
|
58
|
+
};
|
|
59
|
+
var queueCards = function queueCards(requests) {
|
|
60
|
+
return function (tr) {
|
|
61
|
+
return cardAction(tr, {
|
|
62
|
+
type: 'QUEUE',
|
|
63
|
+
requests: requests
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @private
|
|
70
|
+
* @deprecated
|
|
71
|
+
*
|
|
72
|
+
* DO NOT USE THIS
|
|
73
|
+
* It is only used internally for `deprecated-hyperlink`.
|
|
74
|
+
*/
|
|
75
|
+
var queueCardsFromChangedTr = function queueCardsFromChangedTr(state, tr, source, analyticsAction) {
|
|
76
|
+
var normalizeLinkText = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
77
|
+
var sourceEvent = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : undefined;
|
|
78
|
+
var schema = state.schema;
|
|
79
|
+
var link = schema.marks.link;
|
|
80
|
+
var requests = [];
|
|
81
|
+
(0, _utils.nodesBetweenChanged)(tr, function (node, pos) {
|
|
82
|
+
if (!node.isText) {
|
|
83
|
+
return true;
|
|
84
|
+
}
|
|
85
|
+
var linkMark = node.marks.find(function (mark) {
|
|
86
|
+
return mark.type === link;
|
|
87
|
+
});
|
|
88
|
+
if (linkMark) {
|
|
89
|
+
if (!shouldReplaceLink(node, normalizeLinkText)) {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
requests.push({
|
|
93
|
+
url: linkMark.attrs.href,
|
|
94
|
+
pos: pos,
|
|
95
|
+
appearance: 'inline',
|
|
96
|
+
compareLinkText: normalizeLinkText,
|
|
97
|
+
source: source,
|
|
98
|
+
analyticsAction: analyticsAction,
|
|
99
|
+
sourceEvent: sourceEvent
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
return false;
|
|
103
|
+
});
|
|
104
|
+
if (analyticsAction) {
|
|
105
|
+
(0, _card.addLinkMetadata)(state.selection, tr, {
|
|
106
|
+
action: analyticsAction
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
return queueCards(requests)(tr);
|
|
110
|
+
};
|
|
111
|
+
exports.queueCardsFromChangedTr = queueCardsFromChangedTr;
|
|
@@ -15,7 +15,7 @@ var _utils = require("@atlaskit/editor-common/utils");
|
|
|
15
15
|
var _prosemirrorState = require("prosemirror-state");
|
|
16
16
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
17
17
|
var _analytics2 = require("../analytics");
|
|
18
|
-
var _doc = require("../card/
|
|
18
|
+
var _doc = require("../deprecated-card/doc");
|
|
19
19
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
20
20
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21
21
|
// TODO: ED-17836 This workaround is used since we extracted the hyperlink plugin.
|
|
@@ -71,12 +71,6 @@ Object.defineProperty(exports, "captionPlugin", {
|
|
|
71
71
|
return _caption.default;
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
|
-
Object.defineProperty(exports, "cardPlugin", {
|
|
75
|
-
enumerable: true,
|
|
76
|
-
get: function get() {
|
|
77
|
-
return _card.default;
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
74
|
Object.defineProperty(exports, "clearMarksOnChangeToEmptyDocumentPlugin", {
|
|
81
75
|
enumerable: true,
|
|
82
76
|
get: function get() {
|
|
@@ -422,7 +416,6 @@ var _textColor = _interopRequireDefault(require("./text-color"));
|
|
|
422
416
|
var _textFormatting = _interopRequireDefault(require("./text-formatting"));
|
|
423
417
|
var _typeAhead = _interopRequireDefault(require("./type-ahead"));
|
|
424
418
|
var _unsupportedContent = _interopRequireDefault(require("./unsupported-content"));
|
|
425
|
-
var _card = _interopRequireDefault(require("./card"));
|
|
426
419
|
var _floatingToolbar = _interopRequireDefault(require("./floating-toolbar"));
|
|
427
420
|
var _status = _interopRequireDefault(require("./status"));
|
|
428
421
|
var _breakout = _interopRequireDefault(require("./breakout"));
|
|
@@ -234,22 +234,11 @@ var MediaSingleNode = /*#__PURE__*/function (_Component) {
|
|
|
234
234
|
}
|
|
235
235
|
(_this$captionPlaceHol = _this.captionPlaceHolderRef.current) === null || _this$captionPlaceHol === void 0 ? void 0 : _this$captionPlaceHol.click();
|
|
236
236
|
});
|
|
237
|
-
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "displayGrid", function (visible, gridType, highlight) {
|
|
238
|
-
var _pluginInjectionApi$d, _pluginInjectionApi$d2, _pluginInjectionApi$d3;
|
|
239
|
-
var _this$props = _this.props,
|
|
240
|
-
pluginInjectionApi = _this$props.pluginInjectionApi,
|
|
241
|
-
view = _this$props.view;
|
|
242
|
-
pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$d = pluginInjectionApi.dependencies) === null || _pluginInjectionApi$d === void 0 ? void 0 : (_pluginInjectionApi$d2 = _pluginInjectionApi$d.grid) === null || _pluginInjectionApi$d2 === void 0 ? void 0 : (_pluginInjectionApi$d3 = _pluginInjectionApi$d2.actions) === null || _pluginInjectionApi$d3 === void 0 ? void 0 : _pluginInjectionApi$d3.displayGrid(view)({
|
|
243
|
-
visible: visible,
|
|
244
|
-
gridType: gridType,
|
|
245
|
-
highlight: highlight
|
|
246
|
-
});
|
|
247
|
-
});
|
|
248
237
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "clickPlaceholder", function () {
|
|
249
|
-
var _this$
|
|
250
|
-
view = _this$
|
|
251
|
-
getPos = _this$
|
|
252
|
-
node = _this$
|
|
238
|
+
var _this$props = _this.props,
|
|
239
|
+
view = _this$props.view,
|
|
240
|
+
getPos = _this$props.getPos,
|
|
241
|
+
node = _this$props.node;
|
|
253
242
|
if (typeof getPos === 'boolean') {
|
|
254
243
|
return;
|
|
255
244
|
}
|
|
@@ -324,14 +313,14 @@ var MediaSingleNode = /*#__PURE__*/function (_Component) {
|
|
|
324
313
|
}, {
|
|
325
314
|
key: "render",
|
|
326
315
|
value: function render() {
|
|
327
|
-
var _this$
|
|
328
|
-
selected = _this$
|
|
329
|
-
getPos = _this$
|
|
330
|
-
node = _this$
|
|
331
|
-
mediaOptions = _this$
|
|
332
|
-
fullWidthMode = _this$
|
|
333
|
-
state = _this$
|
|
334
|
-
view = _this$
|
|
316
|
+
var _this$props2 = this.props,
|
|
317
|
+
selected = _this$props2.selected,
|
|
318
|
+
getPos = _this$props2.getPos,
|
|
319
|
+
node = _this$props2.node,
|
|
320
|
+
mediaOptions = _this$props2.mediaOptions,
|
|
321
|
+
fullWidthMode = _this$props2.fullWidthMode,
|
|
322
|
+
state = _this$props2.view.state,
|
|
323
|
+
view = _this$props2.view;
|
|
335
324
|
var _ref4 = node.attrs,
|
|
336
325
|
layout = _ref4.layout,
|
|
337
326
|
mediaSingleWidth = _ref4.width;
|
|
@@ -403,12 +392,12 @@ var MediaSingleNode = /*#__PURE__*/function (_Component) {
|
|
|
403
392
|
view: this.props.view,
|
|
404
393
|
getPos: getPos,
|
|
405
394
|
updateSize: this.updateSize,
|
|
406
|
-
displayGrid: this.displayGrid,
|
|
407
395
|
gridSize: 12,
|
|
408
396
|
viewMediaClientConfig: this.state.viewMediaClientConfig,
|
|
409
397
|
allowBreakoutSnapPoints: mediaOptions && mediaOptions.allowBreakoutSnapPoints,
|
|
410
398
|
selected: isSelected,
|
|
411
|
-
dispatchAnalyticsEvent: this.props.dispatchAnalyticsEvent
|
|
399
|
+
dispatchAnalyticsEvent: this.props.dispatchAnalyticsEvent,
|
|
400
|
+
pluginInjectionApi: this.props.pluginInjectionApi
|
|
412
401
|
}), MediaChildren) : (0, _react.jsx)(_ui.MediaSingle, mediaSingleProps, MediaChildren);
|
|
413
402
|
}
|
|
414
403
|
}]);
|
|
@@ -41,10 +41,21 @@ var ResizableMediaSingle = /*#__PURE__*/function (_React$Component) {
|
|
|
41
41
|
// We default to true until we resolve the file type
|
|
42
42
|
isVideoFile: true
|
|
43
43
|
});
|
|
44
|
-
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "
|
|
44
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "displayGrid", function (visible, gridType, highlight) {
|
|
45
|
+
var _pluginInjectionApi$d, _pluginInjectionApi$d2, _pluginInjectionApi$d3;
|
|
45
46
|
var _this$props = _this.props,
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
pluginInjectionApi = _this$props.pluginInjectionApi,
|
|
48
|
+
view = _this$props.view;
|
|
49
|
+
pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$d = pluginInjectionApi.dependencies) === null || _pluginInjectionApi$d === void 0 ? void 0 : (_pluginInjectionApi$d2 = _pluginInjectionApi$d.grid) === null || _pluginInjectionApi$d2 === void 0 ? void 0 : (_pluginInjectionApi$d3 = _pluginInjectionApi$d2.actions) === null || _pluginInjectionApi$d3 === void 0 ? void 0 : _pluginInjectionApi$d3.displayGrid(view)({
|
|
50
|
+
visible: visible,
|
|
51
|
+
gridType: gridType,
|
|
52
|
+
highlight: highlight
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "calcNewSize", function (newWidth, stop) {
|
|
56
|
+
var _this$props2 = _this.props,
|
|
57
|
+
layout = _this$props2.layout,
|
|
58
|
+
state = _this$props2.view.state;
|
|
48
59
|
var newPct = (0, _ui.calcPctFromPx)(newWidth, _this.props.lineLength) * 100;
|
|
49
60
|
_this.setState({
|
|
50
61
|
resizedPctWidth: newPct
|
|
@@ -79,17 +90,17 @@ var ResizableMediaSingle = /*#__PURE__*/function (_React$Component) {
|
|
|
79
90
|
return _this.insideInlineLike ? (0, _ui.calcColumnsFromPx)(offsetLeft, _this.props.lineLength, _this.props.gridSize) : 0;
|
|
80
91
|
});
|
|
81
92
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "calcPxWidth", function (useLayout) {
|
|
82
|
-
var _this$
|
|
83
|
-
_this$
|
|
84
|
-
origWidth = _this$
|
|
85
|
-
origHeight = _this$
|
|
86
|
-
layout = _this$
|
|
87
|
-
pctWidth = _this$
|
|
88
|
-
lineLength = _this$
|
|
89
|
-
containerWidth = _this$
|
|
90
|
-
fullWidthMode = _this$
|
|
91
|
-
getPos = _this$
|
|
92
|
-
state = _this$
|
|
93
|
+
var _this$props3 = _this.props,
|
|
94
|
+
_this$props3$width = _this$props3.width,
|
|
95
|
+
origWidth = _this$props3$width === void 0 ? 0 : _this$props3$width,
|
|
96
|
+
origHeight = _this$props3.height,
|
|
97
|
+
layout = _this$props3.layout,
|
|
98
|
+
pctWidth = _this$props3.pctWidth,
|
|
99
|
+
lineLength = _this$props3.lineLength,
|
|
100
|
+
containerWidth = _this$props3.containerWidth,
|
|
101
|
+
fullWidthMode = _this$props3.fullWidthMode,
|
|
102
|
+
getPos = _this$props3.getPos,
|
|
103
|
+
state = _this$props3.view.state;
|
|
93
104
|
var resizedPctWidth = _this.state.resizedPctWidth;
|
|
94
105
|
var pos = typeof getPos === 'function' ? getPos() : undefined;
|
|
95
106
|
return (0, _ui.calcMediaPxWidth)({
|
|
@@ -120,10 +131,10 @@ var ResizableMediaSingle = /*#__PURE__*/function (_React$Component) {
|
|
|
120
131
|
if (snapWidth > _editorSharedStyles.akEditorWideLayoutWidth) {
|
|
121
132
|
return ['full-width'];
|
|
122
133
|
}
|
|
123
|
-
var _this$
|
|
124
|
-
layout = _this$
|
|
125
|
-
lineLength = _this$
|
|
126
|
-
gridSize = _this$
|
|
134
|
+
var _this$props4 = _this.props,
|
|
135
|
+
layout = _this$props4.layout,
|
|
136
|
+
lineLength = _this$props4.lineLength,
|
|
137
|
+
gridSize = _this$props4.gridSize;
|
|
127
138
|
var columns = (0, _ui.calcColumnsFromPx)(snapWidth, lineLength, gridSize);
|
|
128
139
|
var columnWidth = Math.round(columns);
|
|
129
140
|
var highlight = [];
|
|
@@ -318,15 +329,15 @@ var ResizableMediaSingle = /*#__PURE__*/function (_React$Component) {
|
|
|
318
329
|
key: "render",
|
|
319
330
|
value: function render() {
|
|
320
331
|
var _this2 = this;
|
|
321
|
-
var _this$
|
|
322
|
-
origWidth = _this$
|
|
323
|
-
origHeight = _this$
|
|
324
|
-
layout = _this$
|
|
325
|
-
pctWidth = _this$
|
|
326
|
-
containerWidth = _this$
|
|
327
|
-
fullWidthMode = _this$
|
|
328
|
-
selected = _this$
|
|
329
|
-
children = _this$
|
|
332
|
+
var _this$props5 = this.props,
|
|
333
|
+
origWidth = _this$props5.width,
|
|
334
|
+
origHeight = _this$props5.height,
|
|
335
|
+
layout = _this$props5.layout,
|
|
336
|
+
pctWidth = _this$props5.pctWidth,
|
|
337
|
+
containerWidth = _this$props5.containerWidth,
|
|
338
|
+
fullWidthMode = _this$props5.fullWidthMode,
|
|
339
|
+
selected = _this$props5.selected,
|
|
340
|
+
children = _this$props5.children;
|
|
330
341
|
var initialWidth = this.calcPxWidth(); // width with padding
|
|
331
342
|
var ratio;
|
|
332
343
|
if (origWidth) {
|
|
@@ -363,6 +374,7 @@ var ResizableMediaSingle = /*#__PURE__*/function (_React$Component) {
|
|
|
363
374
|
fullWidthMode: fullWidthMode
|
|
364
375
|
})
|
|
365
376
|
}, (0, _react2.jsx)(_ui.Resizer, (0, _extends2.default)({}, this.props, {
|
|
377
|
+
displayGrid: this.displayGrid,
|
|
366
378
|
ratio: ratio,
|
|
367
379
|
width: initialWidth,
|
|
368
380
|
selected: selected,
|
|
@@ -10,7 +10,6 @@ var _cellSelection = require("@atlaskit/editor-tables/cell-selection");
|
|
|
10
10
|
var _prosemirrorTransform = require("prosemirror-transform");
|
|
11
11
|
var _cellSelection2 = require("../../../utils/cell-selection");
|
|
12
12
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
13
|
-
var _analytics2 = require("../../analytics");
|
|
14
13
|
var FORMATTING_NODE_TYPES = ['heading', 'codeBlock', 'blockquote'];
|
|
15
14
|
exports.FORMATTING_NODE_TYPES = FORMATTING_NODE_TYPES;
|
|
16
15
|
var FORMATTING_MARK_TYPES = ['em', 'code', 'strike', 'strong', 'underline', 'textColor', 'subsup'];
|
|
@@ -24,8 +23,8 @@ var formatTypes = {
|
|
|
24
23
|
textColor: _analytics.ACTION_SUBJECT_ID.FORMAT_COLOR,
|
|
25
24
|
subsup: 'subsup'
|
|
26
25
|
};
|
|
27
|
-
function clearFormattingWithAnalytics(inputMethod) {
|
|
28
|
-
return clearFormatting(inputMethod);
|
|
26
|
+
function clearFormattingWithAnalytics(inputMethod, editorAnalyticsAPI) {
|
|
27
|
+
return clearFormatting(inputMethod, editorAnalyticsAPI);
|
|
29
28
|
}
|
|
30
29
|
function clearNodeFormattingOnSelection(state, tr, formattedNodeType, nodeName, formattingCleared) {
|
|
31
30
|
return function (node, pos) {
|
|
@@ -51,7 +50,7 @@ function clearNodeFormattingOnSelection(state, tr, formattedNodeType, nodeName,
|
|
|
51
50
|
return true;
|
|
52
51
|
};
|
|
53
52
|
}
|
|
54
|
-
function clearFormatting(inputMethod) {
|
|
53
|
+
function clearFormatting(inputMethod, editorAnalyticsAPI) {
|
|
55
54
|
return function (state, dispatch) {
|
|
56
55
|
var tr = state.tr;
|
|
57
56
|
var formattingCleared = [];
|
|
@@ -93,7 +92,7 @@ function clearFormatting(inputMethod) {
|
|
|
93
92
|
});
|
|
94
93
|
tr.setStoredMarks([]);
|
|
95
94
|
if (formattingCleared.length && inputMethod) {
|
|
96
|
-
|
|
95
|
+
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent({
|
|
97
96
|
action: _analytics.ACTION.FORMATTED,
|
|
98
97
|
eventType: _analytics.EVENT_TYPE.TRACK,
|
|
99
98
|
actionSubject: _analytics.ACTION_SUBJECT.TEXT,
|
|
@@ -102,7 +101,7 @@ function clearFormatting(inputMethod) {
|
|
|
102
101
|
inputMethod: inputMethod,
|
|
103
102
|
formattingCleared: formattingCleared
|
|
104
103
|
}
|
|
105
|
-
});
|
|
104
|
+
})(tr);
|
|
106
105
|
}
|
|
107
106
|
if (dispatch) {
|
|
108
107
|
dispatch(tr);
|
|
@@ -18,6 +18,7 @@ var _smartInputRule = _interopRequireDefault(require("./pm-plugins/smart-input-r
|
|
|
18
18
|
var _Toolbar = _interopRequireDefault(require("./ui/Toolbar"));
|
|
19
19
|
var textFormatting = function textFormatting() {
|
|
20
20
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
21
|
+
var api = arguments.length > 1 ? arguments[1] : undefined;
|
|
21
22
|
return {
|
|
22
23
|
name: 'textFormatting',
|
|
23
24
|
marks: function marks() {
|
|
@@ -75,7 +76,8 @@ var textFormatting = function textFormatting() {
|
|
|
75
76
|
}, {
|
|
76
77
|
name: 'textFormattingClearKeymap',
|
|
77
78
|
plugin: function plugin() {
|
|
78
|
-
|
|
79
|
+
var _api$dependencies$ana;
|
|
80
|
+
return (0, _clearFormattingKeymap.default)(api === null || api === void 0 ? void 0 : (_api$dependencies$ana = api.dependencies.analytics) === null || _api$dependencies$ana === void 0 ? void 0 : _api$dependencies$ana.actions);
|
|
79
81
|
}
|
|
80
82
|
}, {
|
|
81
83
|
name: 'textFormattingKeymap',
|
|
@@ -98,6 +100,7 @@ var textFormatting = function textFormatting() {
|
|
|
98
100
|
clearFormattingPluginState: _clearFormatting.pluginKey
|
|
99
101
|
},
|
|
100
102
|
render: function render() {
|
|
103
|
+
var _api$dependencies$ana2;
|
|
101
104
|
return /*#__PURE__*/_react.default.createElement(_Toolbar.default, {
|
|
102
105
|
editorState: editorView.state,
|
|
103
106
|
popupsMountPoint: popupsMountPoint,
|
|
@@ -106,7 +109,8 @@ var textFormatting = function textFormatting() {
|
|
|
106
109
|
isReducedSpacing: isToolbarReducedSpacing,
|
|
107
110
|
editorView: editorView,
|
|
108
111
|
isToolbarDisabled: disabled,
|
|
109
|
-
shouldUseResponsiveToolbar: Boolean(options.responsiveToolbarMenu)
|
|
112
|
+
shouldUseResponsiveToolbar: Boolean(options.responsiveToolbarMenu),
|
|
113
|
+
editorAnalyticsAPI: api === null || api === void 0 ? void 0 : (_api$dependencies$ana2 = api.dependencies.analytics) === null || _api$dependencies$ana2 === void 0 ? void 0 : _api$dependencies$ana2.actions
|
|
110
114
|
});
|
|
111
115
|
}
|
|
112
116
|
});
|
|
@@ -12,9 +12,9 @@ var _analytics = require("@atlaskit/editor-common/analytics");
|
|
|
12
12
|
var _clearFormatting = require("../commands/clear-formatting");
|
|
13
13
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
14
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
|
-
function keymapPlugin() {
|
|
15
|
+
function keymapPlugin(editorAnalyticsAPI) {
|
|
16
16
|
var list = {};
|
|
17
|
-
keymaps.bindKeymapWithCommand(keymaps.clearFormatting.common, (0, _clearFormatting.clearFormattingWithAnalytics)(_analytics.INPUT_METHOD.SHORTCUT), list);
|
|
17
|
+
keymaps.bindKeymapWithCommand(keymaps.clearFormatting.common, (0, _clearFormatting.clearFormattingWithAnalytics)(_analytics.INPUT_METHOD.SHORTCUT, editorAnalyticsAPI), list);
|
|
18
18
|
return (0, _prosemirrorKeymap.keymap)(list);
|
|
19
19
|
}
|
|
20
20
|
var _default = keymapPlugin;
|
|
@@ -14,7 +14,6 @@ var _keymaps = require("../../../../../keymaps");
|
|
|
14
14
|
var _enums = require("../../../../analytics/types/enums");
|
|
15
15
|
/** @jsx jsx */
|
|
16
16
|
|
|
17
|
-
var clearFormattingToolbar = (0, _clearFormatting.clearFormattingWithAnalytics)(_enums.INPUT_METHOD.TOOLBAR);
|
|
18
17
|
var useClearFormattingPluginState = function useClearFormattingPluginState(editorState) {
|
|
19
18
|
return (0, _react.useMemo)(function () {
|
|
20
19
|
return _clearFormatting2.pluginKey.getState(editorState);
|
|
@@ -22,11 +21,15 @@ var useClearFormattingPluginState = function useClearFormattingPluginState(edito
|
|
|
22
21
|
};
|
|
23
22
|
var useClearIcon = function useClearIcon(_ref) {
|
|
24
23
|
var intl = _ref.intl,
|
|
25
|
-
editorState = _ref.editorState
|
|
24
|
+
editorState = _ref.editorState,
|
|
25
|
+
editorAnalyticsAPI = _ref.editorAnalyticsAPI;
|
|
26
26
|
var pluginState = useClearFormattingPluginState(editorState);
|
|
27
27
|
var isPluginAvailable = Boolean(pluginState);
|
|
28
28
|
var formattingIsPresent = Boolean(pluginState === null || pluginState === void 0 ? void 0 : pluginState.formattingIsPresent);
|
|
29
29
|
var clearFormattingLabel = intl.formatMessage(_toolbarMessages.toolbarMessages.clearFormatting);
|
|
30
|
+
var clearFormattingToolbar = (0, _react.useCallback)(function (state, dispatch) {
|
|
31
|
+
return (0, _clearFormatting.clearFormattingWithAnalytics)(_enums.INPUT_METHOD.TOOLBAR, editorAnalyticsAPI)(state, dispatch);
|
|
32
|
+
}, [editorAnalyticsAPI]);
|
|
30
33
|
return (0, _react.useMemo)(function () {
|
|
31
34
|
if (!isPluginAvailable) {
|
|
32
35
|
return null;
|
|
@@ -45,6 +48,6 @@ var useClearIcon = function useClearIcon(_ref) {
|
|
|
45
48
|
isDisabled: !formattingIsPresent,
|
|
46
49
|
'aria-label': _keymaps.clearFormatting ? (0, _keymaps.tooltip)(_keymaps.clearFormatting, String(clearFormattingLabel)) : String(clearFormattingLabel)
|
|
47
50
|
};
|
|
48
|
-
}, [
|
|
51
|
+
}, [isPluginAvailable, clearFormattingToolbar, clearFormattingLabel, formattingIsPresent]);
|
|
49
52
|
};
|
|
50
53
|
exports.useClearIcon = useClearIcon;
|
|
@@ -41,7 +41,8 @@ var ToolbarFormatting = function ToolbarFormatting(_ref) {
|
|
|
41
41
|
toolbarSize = _ref.toolbarSize,
|
|
42
42
|
isReducedSpacing = _ref.isReducedSpacing,
|
|
43
43
|
isToolbarDisabled = _ref.isToolbarDisabled,
|
|
44
|
-
intl = _ref.intl
|
|
44
|
+
intl = _ref.intl,
|
|
45
|
+
editorAnalyticsAPI = _ref.editorAnalyticsAPI;
|
|
45
46
|
var editorState = (0, _react.useMemo)(function () {
|
|
46
47
|
return editorView.state;
|
|
47
48
|
}, [editorView.state]);
|
|
@@ -56,7 +57,8 @@ var ToolbarFormatting = function ToolbarFormatting(_ref) {
|
|
|
56
57
|
});
|
|
57
58
|
var clearIcon = (0, _clearFormattingIcon.useClearIcon)({
|
|
58
59
|
editorState: editorState,
|
|
59
|
-
intl: intl
|
|
60
|
+
intl: intl,
|
|
61
|
+
editorAnalyticsAPI: editorAnalyticsAPI
|
|
60
62
|
});
|
|
61
63
|
var menuIconTypeList = (0, _responsiveToolbarButtons.useResponsiveIconTypeMenu)({
|
|
62
64
|
toolbarSize: toolbarSize,
|
|
@@ -177,7 +179,8 @@ var Toolbar = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
177
179
|
editorView = _this$props.editorView,
|
|
178
180
|
isToolbarDisabled = _this$props.isToolbarDisabled,
|
|
179
181
|
shouldUseResponsiveToolbar = _this$props.shouldUseResponsiveToolbar,
|
|
180
|
-
intl = _this$props.intl
|
|
182
|
+
intl = _this$props.intl,
|
|
183
|
+
editorAnalyticsAPI = _this$props.editorAnalyticsAPI;
|
|
181
184
|
return (0, _react2.jsx)(ToolbarFormatting, {
|
|
182
185
|
popupsMountPoint: popupsMountPoint,
|
|
183
186
|
popupsScrollableElement: popupsScrollableElement,
|
|
@@ -186,7 +189,8 @@ var Toolbar = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
186
189
|
editorView: editorView,
|
|
187
190
|
isToolbarDisabled: isToolbarDisabled,
|
|
188
191
|
shouldUseResponsiveToolbar: shouldUseResponsiveToolbar,
|
|
189
|
-
intl: intl
|
|
192
|
+
intl: intl,
|
|
193
|
+
editorAnalyticsAPI: editorAnalyticsAPI
|
|
190
194
|
});
|
|
191
195
|
}
|
|
192
196
|
}]);
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/editor-core";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "185.16.
|
|
9
|
+
var version = "185.16.5";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/i18n/cs.js
CHANGED
|
@@ -17,20 +17,13 @@ export default {
|
|
|
17
17
|
'fabric.editor.alttext.validation': 'Vymažte z alternativního textu všechny zvláštní znaky.',
|
|
18
18
|
'fabric.editor.annotationToolbar': 'Panel nástrojů poznámek',
|
|
19
19
|
'fabric.editor.backLink': 'Zpět',
|
|
20
|
-
'fabric.editor.blockCardUnavailable': 'Vložený odkaz je uvnitř uzlu {node} a jeho zobrazení nelze změnit',
|
|
21
|
-
'fabric.editor.blockDescription': 'Zobrazit další informace o odkazu, včetně souhrnu a akcí',
|
|
22
|
-
'fabric.editor.blockTitle': 'Karta',
|
|
23
20
|
'fabric.editor.blockquote.description': 'Vložit citaci',
|
|
24
21
|
'fabric.editor.blockquote2': 'Citace',
|
|
25
22
|
'fabric.editor.bold': 'Tučné',
|
|
26
|
-
'fabric.editor.bug': 'Chyba',
|
|
27
23
|
'fabric.editor.captionPlaceholder': 'Přidejte popisek',
|
|
28
|
-
'fabric.editor.cardFloatingControls': 'Možnosti karty',
|
|
29
24
|
'fabric.editor.chromeCollapsedPlaceholder': 'Napište něco…',
|
|
30
25
|
'fabric.editor.clearAltTextEdit': 'Vymazat alternativní text',
|
|
31
26
|
'fabric.editor.clearFormatting': 'Odstranit formátování',
|
|
32
|
-
'fabric.editor.clearLink': 'Vymazat odkaz',
|
|
33
|
-
'fabric.editor.clearLinkText': 'Vymazat text',
|
|
34
27
|
'fabric.editor.closeAltTextEdit': 'Zpět',
|
|
35
28
|
'fabric.editor.closeFindReplaceDialog': 'Zavřít',
|
|
36
29
|
'fabric.editor.closeHelpDialog': 'Zavřít dialog nápovědy',
|
|
@@ -60,16 +53,8 @@ export default {
|
|
|
60
53
|
'fabric.editor.customPanel': 'Vlastní panel',
|
|
61
54
|
'fabric.editor.customPanel.description': 'Přidejte poznámku se smajlíkem a barevným pozadím.',
|
|
62
55
|
'fabric.editor.decisionPlaceholder': 'Přidat rozhodnutí...',
|
|
63
|
-
'fabric.editor.defaultAltText': 'Položka seznamu',
|
|
64
56
|
'fabric.editor.description': 'Popis',
|
|
65
|
-
'fabric.editor.displayBlock': 'Zobrazit jako kartu',
|
|
66
|
-
'fabric.editor.displayEmbed': 'Zobrazit jako vložený objekt',
|
|
67
|
-
'fabric.editor.displayInline': 'Zobrazit v řádku',
|
|
68
|
-
'fabric.editor.displayLink': 'Zobrazit jako text',
|
|
69
|
-
'fabric.editor.displayOptionUnavailableInParentNode': 'Tato možnost zobrazení není v uzlu {node} dostupná',
|
|
70
|
-
'fabric.editor.displayText': 'Text k zobrazení',
|
|
71
57
|
'fabric.editor.dropPlaceholderLabel': 'Dokument',
|
|
72
|
-
'fabric.editor.ecombedDescription': 'Zobrazit interaktivní náhled odkazu',
|
|
73
58
|
'fabric.editor.edit': 'Upravit',
|
|
74
59
|
'fabric.editor.editAltText': 'Upravit alternativní text',
|
|
75
60
|
'fabric.editor.editDateText': 'Upravit datum',
|
|
@@ -95,8 +80,6 @@ export default {
|
|
|
95
80
|
'fabric.editor.elementbrowser.search.empty-state.sub-heading': 'Zkuste vyhledat jiný termín nebo objevte nové aplikace pro produkty Atlassian.',
|
|
96
81
|
'fabric.editor.elementbrowser.search.empty-state.sub-heading.link': 'Prozkoumat Atlassian Marketplace',
|
|
97
82
|
'fabric.editor.elementbrowser.sidebar.heading': 'Procházet',
|
|
98
|
-
'fabric.editor.embedTitle': 'Vložit',
|
|
99
|
-
'fabric.editor.epic': 'Epic',
|
|
100
83
|
'fabric.editor.error': 'Chyba',
|
|
101
84
|
'fabric.editor.errorPanel': 'Panel chyb',
|
|
102
85
|
'fabric.editor.errorPanel.description': 'Chyby zobrazit v barevném panelu',
|
|
@@ -129,30 +112,18 @@ export default {
|
|
|
129
112
|
'fabric.editor.heading5Description': 'Použít pro seskupení položek seznamu',
|
|
130
113
|
'fabric.editor.heading6': 'Nadpis 6',
|
|
131
114
|
'fabric.editor.heading6Description': 'Použít pro nadpis nejnižší úrovně',
|
|
132
|
-
'fabric.editor.headingLink.hyperlinkIconBlogLabel': 'Blog',
|
|
133
|
-
'fabric.editor.headingLink.hyperlinkIconBugLabel': 'Chyba',
|
|
134
|
-
'fabric.editor.headingLink.hyperlinkIconIssueLabel': 'Požadavek',
|
|
135
|
-
'fabric.editor.headingLink.hyperlinkIconPageLabel': 'Stránka',
|
|
136
|
-
'fabric.editor.headingLink.hyperlinkIconStoryLabel': 'Story',
|
|
137
|
-
'fabric.editor.headingLink.hyperlinkIconTaskLabel': 'Úkol',
|
|
138
115
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Otevřít dialog nápovědy',
|
|
139
116
|
'fabric.editor.helpDialogTips': 'Zmáčkněte {keyMap}, abyste mohli kdykoliv rychle otevřít tento dialog.',
|
|
140
|
-
'fabric.editor.hyperlink.linkAriaLabel': 'Popisek odkazu',
|
|
141
|
-
'fabric.editor.hyperlink.searchLinkAriaDescription': 'Níže se objeví návrhy na základě vámi napsaného textu v poli',
|
|
142
|
-
'fabric.editor.hyperlink.searchLinkResults': '{count, plural, =0 {nebyly nalezeny žádné výsledky} one {{count,number} nalezený výsledek} few {{count,number} nalezené výsledky} many {{count,number} nalezeného výsledku} other {{count,number} nalezených výsledků}}',
|
|
143
117
|
'fabric.editor.imageBorderBold': 'Tučné',
|
|
144
118
|
'fabric.editor.imageBorderColor': 'Barva',
|
|
145
119
|
'fabric.editor.imageBorderMedium': 'Střední',
|
|
146
120
|
'fabric.editor.imageBorderOptions': 'Možnosti ohraničení',
|
|
147
121
|
'fabric.editor.imageBorderSize': 'Velikost',
|
|
148
122
|
'fabric.editor.imageBorderSubtle': 'Útlé',
|
|
149
|
-
'fabric.editor.improvement': 'Vylepšení',
|
|
150
123
|
'fabric.editor.indent': 'Zvětšit odsazení',
|
|
151
124
|
'fabric.editor.info': 'Informace',
|
|
152
125
|
'fabric.editor.infoPanel': 'Informační panel',
|
|
153
126
|
'fabric.editor.infoPanel.description': 'Zvýraznit informace v barevném panelu',
|
|
154
|
-
'fabric.editor.inlineDescription': 'Zobrazit odkaz jako vložený text',
|
|
155
|
-
'fabric.editor.inlineTitle': 'Vložený',
|
|
156
127
|
'fabric.editor.inputQueryAssistiveTxt': 'Když jsou k dispozici výsledky automatického dokončování, použijte šipky nahoru a dolů k prohlížení a klávesu Enter k výběru. Uživatelé dotykových zařízení mohou k prohlížení použít dotyk nebo gesta potáhnutí prstem.',
|
|
157
128
|
'fabric.editor.invalidDateError': 'Zadejte platné datum.',
|
|
158
129
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Pozvat týmového kolegu do produktu {productName}} trusted {Pozvat týmového kolegu do produktu {productName}} other {Přidat týmového kolegu do produktu {productName}}}',
|
|
@@ -200,9 +171,7 @@ export default {
|
|
|
200
171
|
'fabric.editor.shortcut': 'Textový zástupce',
|
|
201
172
|
'fabric.editor.single': 'Jeden sloupec',
|
|
202
173
|
'fabric.editor.statusPlaceholder': 'Nastavit stav',
|
|
203
|
-
'fabric.editor.story': 'Story',
|
|
204
174
|
'fabric.editor.strike': 'Přeškrtnutí',
|
|
205
|
-
'fabric.editor.subTask': 'Podúkol',
|
|
206
175
|
'fabric.editor.subscript': 'Dolní index',
|
|
207
176
|
'fabric.editor.subscript.off.superscript.on': 'Dolní index vypnutý, horní index zapnutý',
|
|
208
177
|
'fabric.editor.success': 'Úspěch',
|
|
@@ -211,7 +180,6 @@ export default {
|
|
|
211
180
|
'fabric.editor.superscript': 'Horní index',
|
|
212
181
|
'fabric.editor.superscript.off.subscript.on': 'Horní index vypnutý, dolní index zapnutý',
|
|
213
182
|
'fabric.editor.supportAltText': 'Alternativní text je užitečný pro lidi, kteří kvůli zrakovým omezením používají čtečky obrazovky.',
|
|
214
|
-
'fabric.editor.task': 'Úkol',
|
|
215
183
|
'fabric.editor.taskPlaceholder': 'Napište svou akci a použitím „@“ ji někomu přidělte.',
|
|
216
184
|
'fabric.editor.text.formatting.off': 'Formátování textu vypnuto',
|
|
217
185
|
'fabric.editor.textColor': 'Barva textu',
|
|
@@ -234,9 +202,6 @@ export default {
|
|
|
234
202
|
'fabric.editor.undo': 'Vrátit',
|
|
235
203
|
'fabric.editor.unorderedList': 'Seznam s odrážkami',
|
|
236
204
|
'fabric.editor.unorderedList.description': 'Vytvořit neseřazený seznam',
|
|
237
|
-
'fabric.editor.url': 'Zobrazit adresu URL',
|
|
238
|
-
'fabric.editor.urlDescription': 'Zobrazit odkaz jako adresu URL',
|
|
239
|
-
'fabric.editor.urlTitle': 'Adresa URL',
|
|
240
205
|
'fabric.editor.warning': 'Varování',
|
|
241
206
|
'fabric.editor.warningPanel': 'Panel upozornění',
|
|
242
207
|
'fabric.editor.warningPanel.description': 'Přidat poznámku s varováním do barevného panelu',
|