@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
package/dist/esm/i18n/zh_TW.js
CHANGED
|
@@ -17,20 +17,13 @@ export default {
|
|
|
17
17
|
'fabric.editor.alttext.validation': '請移除替代文字中的所有特殊字元。',
|
|
18
18
|
'fabric.editor.annotationToolbar': '註解工具列',
|
|
19
19
|
'fabric.editor.backLink': '返回',
|
|
20
|
-
'fabric.editor.blockCardUnavailable': '內嵌連結位於 {node} 內,無法變更其檢視',
|
|
21
|
-
'fabric.editor.blockDescription': '顯示有關連結的更多資訊,包括摘要和動作',
|
|
22
|
-
'fabric.editor.blockTitle': '卡片',
|
|
23
20
|
'fabric.editor.blockquote.description': '插入引述或引文',
|
|
24
21
|
'fabric.editor.blockquote2': '引述',
|
|
25
22
|
'fabric.editor.bold': '粗體',
|
|
26
|
-
'fabric.editor.bug': '錯誤',
|
|
27
23
|
'fabric.editor.captionPlaceholder': '新增標題',
|
|
28
|
-
'fabric.editor.cardFloatingControls': '卡片選項',
|
|
29
24
|
'fabric.editor.chromeCollapsedPlaceholder': '輸入一些內容...',
|
|
30
25
|
'fabric.editor.clearAltTextEdit': '清除替代文字',
|
|
31
26
|
'fabric.editor.clearFormatting': '清除格式設定',
|
|
32
|
-
'fabric.editor.clearLink': '清除連結',
|
|
33
|
-
'fabric.editor.clearLinkText': '清除文字',
|
|
34
27
|
'fabric.editor.closeAltTextEdit': '返回',
|
|
35
28
|
'fabric.editor.closeFindReplaceDialog': '關閉',
|
|
36
29
|
'fabric.editor.closeHelpDialog': '關閉說明對話方塊',
|
|
@@ -60,16 +53,8 @@ export default {
|
|
|
60
53
|
'fabric.editor.customPanel': '自訂面板',
|
|
61
54
|
'fabric.editor.customPanel.description': '新增一個帶有表情符號和彩色背景的附註',
|
|
62
55
|
'fabric.editor.decisionPlaceholder': '新增決定…',
|
|
63
|
-
'fabric.editor.defaultAltText': '清單項目',
|
|
64
56
|
'fabric.editor.description': '描述',
|
|
65
|
-
'fabric.editor.displayBlock': '顯示卡片',
|
|
66
|
-
'fabric.editor.displayEmbed': '顯示嵌入',
|
|
67
|
-
'fabric.editor.displayInline': '顯示內嵌',
|
|
68
|
-
'fabric.editor.displayLink': '以文字顯示',
|
|
69
|
-
'fabric.editor.displayOptionUnavailableInParentNode': '{node} 內無法使用此顯示選項',
|
|
70
|
-
'fabric.editor.displayText': '要顯示的文字',
|
|
71
57
|
'fabric.editor.dropPlaceholderLabel': '文件',
|
|
72
|
-
'fabric.editor.ecombedDescription': '顯示連結的互動式預覽',
|
|
73
58
|
'fabric.editor.edit': '編輯',
|
|
74
59
|
'fabric.editor.editAltText': '編輯替代文字',
|
|
75
60
|
'fabric.editor.editDateText': '編輯日期',
|
|
@@ -95,14 +80,13 @@ export default {
|
|
|
95
80
|
'fabric.editor.elementbrowser.search.empty-state.sub-heading': '請試著使用不同的詞彙搜尋,或探索 Atlassian 產品的新應用程式。',
|
|
96
81
|
'fabric.editor.elementbrowser.search.empty-state.sub-heading.link': '探索 Atlassian Marketplace',
|
|
97
82
|
'fabric.editor.elementbrowser.sidebar.heading': '瀏覽',
|
|
98
|
-
'fabric.editor.embedTitle': '嵌入',
|
|
99
|
-
'fabric.editor.epic': '大型工作',
|
|
100
83
|
'fabric.editor.error': '錯誤',
|
|
101
84
|
'fabric.editor.errorPanel': '錯誤面板',
|
|
102
85
|
'fabric.editor.errorPanel.description': '以彩色面板呼叫錯誤',
|
|
103
86
|
'fabric.editor.extension.confirmDeleteLinkedModalMessage': '刪除 {nodeName} 將中斷與其連結的任何內容。',
|
|
104
87
|
'fabric.editor.extension.confirmDeleteLinkedModalOKButton': '刪除',
|
|
105
88
|
'fabric.editor.extension.deleteElementTitle': '刪除元素',
|
|
89
|
+
'fabric.editor.extension.sourceNoTitledName': '這個元素',
|
|
106
90
|
'fabric.editor.extensions.config-panel.save-indicator': '系統會隨時自動儲存所有變更',
|
|
107
91
|
'fabric.editor.find': '尋找',
|
|
108
92
|
'fabric.editor.findNext': '尋找下一個',
|
|
@@ -128,30 +112,18 @@ export default {
|
|
|
128
112
|
'fabric.editor.heading5Description': '用於分組清單項目',
|
|
129
113
|
'fabric.editor.heading6': '標題 6',
|
|
130
114
|
'fabric.editor.heading6Description': '用於低層級標題',
|
|
131
|
-
'fabric.editor.headingLink.hyperlinkIconBlogLabel': '部落格',
|
|
132
|
-
'fabric.editor.headingLink.hyperlinkIconBugLabel': '錯誤',
|
|
133
|
-
'fabric.editor.headingLink.hyperlinkIconIssueLabel': '問題',
|
|
134
|
-
'fabric.editor.headingLink.hyperlinkIconPageLabel': '頁面',
|
|
135
|
-
'fabric.editor.headingLink.hyperlinkIconStoryLabel': '故事',
|
|
136
|
-
'fabric.editor.headingLink.hyperlinkIconTaskLabel': '任務',
|
|
137
115
|
'fabric.editor.headingLink.toolbarHelpTitle': '開啟說明對話方塊',
|
|
138
116
|
'fabric.editor.helpDialogTips': '您可以隨時按下 {keyMap} 來快速開啟此對話方塊',
|
|
139
|
-
'fabric.editor.hyperlink.linkAriaLabel': '連結標籤',
|
|
140
|
-
'fabric.editor.hyperlink.searchLinkAriaDescription': '當您在欄位中輸入內容時,建議會顯示在下方',
|
|
141
|
-
'fabric.editor.hyperlink.searchLinkResults': '{count, plural, =0 {沒有找到任何結果} other {找到 {count,number} 個結果}}',
|
|
142
117
|
'fabric.editor.imageBorderBold': '粗體',
|
|
143
118
|
'fabric.editor.imageBorderColor': '顏色',
|
|
144
119
|
'fabric.editor.imageBorderMedium': '普通',
|
|
145
120
|
'fabric.editor.imageBorderOptions': '邊框選項',
|
|
146
121
|
'fabric.editor.imageBorderSize': '大小',
|
|
147
122
|
'fabric.editor.imageBorderSubtle': '不明顯的',
|
|
148
|
-
'fabric.editor.improvement': '改善',
|
|
149
123
|
'fabric.editor.indent': '增加縮排',
|
|
150
124
|
'fabric.editor.info': '資訊',
|
|
151
125
|
'fabric.editor.infoPanel': '資訊面板',
|
|
152
126
|
'fabric.editor.infoPanel.description': '以彩色面板醒目提示資訊',
|
|
153
|
-
'fabric.editor.inlineDescription': '將連結顯示為內嵌文字',
|
|
154
|
-
'fabric.editor.inlineTitle': '內嵌',
|
|
155
127
|
'fabric.editor.inputQueryAssistiveTxt': '自動完成結果可用時,請使用向上和向下箭頭查看,並輸入以進行選取。若您使用觸控螢幕裝置,請透過觸控或滑動手勢探索內容。',
|
|
156
128
|
'fabric.editor.invalidDateError': '請輸入有效的日期',
|
|
157
129
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {邀請團隊成員加入 {productName}} trusted {邀請團隊成員加入 {productName}} other {將團隊成員新增至 {productName}}}',
|
|
@@ -199,9 +171,7 @@ export default {
|
|
|
199
171
|
'fabric.editor.shortcut': '文字快顯',
|
|
200
172
|
'fabric.editor.single': '單欄',
|
|
201
173
|
'fabric.editor.statusPlaceholder': '設定狀態',
|
|
202
|
-
'fabric.editor.story': '故事',
|
|
203
174
|
'fabric.editor.strike': '刪除線',
|
|
204
|
-
'fabric.editor.subTask': '子任務',
|
|
205
175
|
'fabric.editor.subscript': '下標',
|
|
206
176
|
'fabric.editor.subscript.off.superscript.on': '下標關閉,上標開啟',
|
|
207
177
|
'fabric.editor.success': '成功',
|
|
@@ -210,7 +180,6 @@ export default {
|
|
|
210
180
|
'fabric.editor.superscript': '上標',
|
|
211
181
|
'fabric.editor.superscript.off.subscript.on': '上標關閉,下標開啟',
|
|
212
182
|
'fabric.editor.supportAltText': '替代文字對於因為視障而使用螢幕閱讀器的人相當實用。',
|
|
213
|
-
'fabric.editor.task': '任務',
|
|
214
183
|
'fabric.editor.taskPlaceholder': '輸入動作,使用「@」以指派給他人。',
|
|
215
184
|
'fabric.editor.text.formatting.off': '文字格式設定關閉',
|
|
216
185
|
'fabric.editor.textColor': '文字顏色',
|
|
@@ -233,9 +202,6 @@ export default {
|
|
|
233
202
|
'fabric.editor.undo': '復原',
|
|
234
203
|
'fabric.editor.unorderedList': '項目符號清單',
|
|
235
204
|
'fabric.editor.unorderedList.description': '建立未排序的清單',
|
|
236
|
-
'fabric.editor.url': '顯示 URL',
|
|
237
|
-
'fabric.editor.urlDescription': '將連結顯示為 URL',
|
|
238
|
-
'fabric.editor.urlTitle': 'URL',
|
|
239
205
|
'fabric.editor.warning': '警告',
|
|
240
206
|
'fabric.editor.warningPanel': '警告面板',
|
|
241
207
|
'fabric.editor.warningPanel.description': '以彩色面板新增注意附註',
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
useProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
7
7
|
//import analyticsPlugin from '../../../plugins/analytics';
|
|
8
8
|
//import basePlugin from '../../../plugins/base';
|
|
9
|
-
//import cardPlugin from '
|
|
9
|
+
//import { cardPlugin } from '@atlaskit/editor-plugin-card';
|
|
10
10
|
//import datePlugin from '../../../plugins/date';
|
|
11
11
|
//import emojiPlugin from '../../../plugins/emoji';
|
|
12
12
|
//import extensionPlugin from '../../../plugins/extension';
|
|
@@ -6,7 +6,7 @@ import { createEditorSelectionAPI } from '../../../selection-api/api';
|
|
|
6
6
|
import { breakoutPlugin, collabEditPlugin, dataConsumerMarkPlugin, datePlugin, emojiPlugin, extensionPlugin, fragmentMarkPlugin, helpDialogPlugin, imageUploadPlugin, insertBlockPlugin, jiraIssuePlugin, layoutPlugin, listPlugin, toolbarListsIndentationPlugin, macroPlugin, maxContentSizePlugin, mediaPlugin, mentionsPlugin, panelPlugin, placeholderTextPlugin, rulePlugin, saveOnEnterPlugin, tasksAndDecisionsPlugin, textColorPlugin, statusPlugin, alignmentPlugin, indentationPlugin, customAutoformatPlugin, feedbackDialogPlugin, historyPlugin, expandPlugin, isExpandInsertionEnabled, scrollIntoViewPlugin, mobileDimensionsPlugin, findReplacePlugin, mobileSelectionPlugin, annotationPlugin, captionPlugin, avatarGroupPlugin, viewUpdateSubscriptionPlugin, beforePrimaryToolbarPlugin, codeBidiWarningPlugin, copyButtonPlugin, borderPlugin } from '../../../plugins';
|
|
7
7
|
import { contextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
|
|
8
8
|
import { gridPlugin } from '@atlaskit/editor-plugin-grid';
|
|
9
|
-
import cardPlugin from '
|
|
9
|
+
import { cardPlugin } from '@atlaskit/editor-plugin-card';
|
|
10
10
|
import { tablesPlugin } from '@atlaskit/editor-plugin-table';
|
|
11
11
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
12
12
|
import { isFullPage as fullPageCheck } from '../../../utils/is-full-page';
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WARNING!!!
|
|
3
|
+
* Copied from `editor-plugin-card`.
|
|
4
|
+
*
|
|
5
|
+
* This workaround is used since we extracted the hyperlink + card plugins.
|
|
6
|
+
* It is only used in `deprecated-hyperlink`. It should not be used internally or externally.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import { addLinkMetadata } from '@atlaskit/editor-common/card';
|
|
11
|
+
import { nodesBetweenChanged } from '@atlaskit/editor-common/utils';
|
|
12
|
+
import { normalizeUrl } from '@atlaskit/adf-schema';
|
|
13
|
+
import { md } from '@atlaskit/editor-common/paste';
|
|
14
|
+
|
|
15
|
+
// TODO: ED-15663
|
|
16
|
+
// Please, do not copy or use this kind of code below
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
var pluginKey = {
|
|
19
|
+
key: 'cardPlugin$',
|
|
20
|
+
getState: function getState(state) {
|
|
21
|
+
return state['cardPlugin$'];
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
function shouldReplaceLink(node) {
|
|
25
|
+
var compareLinkText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
26
|
+
var compareToUrl = arguments.length > 2 ? arguments[2] : undefined;
|
|
27
|
+
var linkMark = node.marks.find(function (mark) {
|
|
28
|
+
return mark.type.name === 'link';
|
|
29
|
+
});
|
|
30
|
+
if (!linkMark) {
|
|
31
|
+
// not a link anymore
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// ED-6041: compare normalised link text after linkfy from Markdown transformer
|
|
36
|
+
// instead, since it always decodes URL ('%20' -> ' ') on the link text
|
|
37
|
+
|
|
38
|
+
var normalisedHref = normalizeUrl(md.normalizeLinkText(linkMark.attrs.href));
|
|
39
|
+
var normalizedLinkText = normalizeUrl(md.normalizeLinkText(node.text || ''));
|
|
40
|
+
if (compareLinkText && normalisedHref !== normalizedLinkText) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
if (compareToUrl) {
|
|
44
|
+
var normalizedUrl = normalizeUrl(md.normalizeLinkText(compareToUrl));
|
|
45
|
+
if (normalizedUrl !== normalisedHref) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
var cardAction = function cardAction(tr, action) {
|
|
52
|
+
return tr.setMeta(pluginKey, action);
|
|
53
|
+
};
|
|
54
|
+
var queueCards = function queueCards(requests) {
|
|
55
|
+
return function (tr) {
|
|
56
|
+
return cardAction(tr, {
|
|
57
|
+
type: 'QUEUE',
|
|
58
|
+
requests: requests
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @private
|
|
65
|
+
* @deprecated
|
|
66
|
+
*
|
|
67
|
+
* DO NOT USE THIS
|
|
68
|
+
* It is only used internally for `deprecated-hyperlink`.
|
|
69
|
+
*/
|
|
70
|
+
export var queueCardsFromChangedTr = function queueCardsFromChangedTr(state, tr, source, analyticsAction) {
|
|
71
|
+
var normalizeLinkText = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
72
|
+
var sourceEvent = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : undefined;
|
|
73
|
+
var schema = state.schema;
|
|
74
|
+
var link = schema.marks.link;
|
|
75
|
+
var requests = [];
|
|
76
|
+
nodesBetweenChanged(tr, function (node, pos) {
|
|
77
|
+
if (!node.isText) {
|
|
78
|
+
return true;
|
|
79
|
+
}
|
|
80
|
+
var linkMark = node.marks.find(function (mark) {
|
|
81
|
+
return mark.type === link;
|
|
82
|
+
});
|
|
83
|
+
if (linkMark) {
|
|
84
|
+
if (!shouldReplaceLink(node, normalizeLinkText)) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
requests.push({
|
|
88
|
+
url: linkMark.attrs.href,
|
|
89
|
+
pos: pos,
|
|
90
|
+
appearance: 'inline',
|
|
91
|
+
compareLinkText: normalizeLinkText,
|
|
92
|
+
source: source,
|
|
93
|
+
analyticsAction: analyticsAction,
|
|
94
|
+
sourceEvent: sourceEvent
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
return false;
|
|
98
|
+
});
|
|
99
|
+
if (analyticsAction) {
|
|
100
|
+
addLinkMetadata(state.selection, tr, {
|
|
101
|
+
action: analyticsAction
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
return queueCards(requests)(tr);
|
|
105
|
+
};
|
|
@@ -8,7 +8,7 @@ import { getLinkCreationAnalyticsEvent, normalizeUrl } from '@atlaskit/editor-co
|
|
|
8
8
|
import { Selection } from 'prosemirror-state';
|
|
9
9
|
import { ACTION } from '@atlaskit/editor-common/analytics';
|
|
10
10
|
import { withAnalytics } from '../analytics';
|
|
11
|
-
import { queueCardsFromChangedTr } from '../card/
|
|
11
|
+
import { queueCardsFromChangedTr } from '../deprecated-card/doc';
|
|
12
12
|
// TODO: ED-17836 This workaround is used since we extracted the hyperlink plugin.
|
|
13
13
|
// As soon as we deprecate the plugin we can delete this code.
|
|
14
14
|
/**
|
|
@@ -32,7 +32,6 @@ export { default as textColorPlugin } from './text-color';
|
|
|
32
32
|
export { default as textFormattingPlugin } from './text-formatting';
|
|
33
33
|
export { default as typeAheadPlugin } from './type-ahead';
|
|
34
34
|
export { default as unsupportedContentPlugin } from './unsupported-content';
|
|
35
|
-
export { default as cardPlugin } from './card';
|
|
36
35
|
export { default as floatingToolbarPlugin } from './floating-toolbar';
|
|
37
36
|
export { default as statusPlugin } from './status';
|
|
38
37
|
export { default as breakoutPlugin } from './breakout';
|
|
@@ -226,22 +226,11 @@ var MediaSingleNode = /*#__PURE__*/function (_Component) {
|
|
|
226
226
|
}
|
|
227
227
|
(_this$captionPlaceHol = _this.captionPlaceHolderRef.current) === null || _this$captionPlaceHol === void 0 ? void 0 : _this$captionPlaceHol.click();
|
|
228
228
|
});
|
|
229
|
-
_defineProperty(_assertThisInitialized(_this), "displayGrid", function (visible, gridType, highlight) {
|
|
230
|
-
var _pluginInjectionApi$d, _pluginInjectionApi$d2, _pluginInjectionApi$d3;
|
|
231
|
-
var _this$props = _this.props,
|
|
232
|
-
pluginInjectionApi = _this$props.pluginInjectionApi,
|
|
233
|
-
view = _this$props.view;
|
|
234
|
-
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)({
|
|
235
|
-
visible: visible,
|
|
236
|
-
gridType: gridType,
|
|
237
|
-
highlight: highlight
|
|
238
|
-
});
|
|
239
|
-
});
|
|
240
229
|
_defineProperty(_assertThisInitialized(_this), "clickPlaceholder", function () {
|
|
241
|
-
var _this$
|
|
242
|
-
view = _this$
|
|
243
|
-
getPos = _this$
|
|
244
|
-
node = _this$
|
|
230
|
+
var _this$props = _this.props,
|
|
231
|
+
view = _this$props.view,
|
|
232
|
+
getPos = _this$props.getPos,
|
|
233
|
+
node = _this$props.node;
|
|
245
234
|
if (typeof getPos === 'boolean') {
|
|
246
235
|
return;
|
|
247
236
|
}
|
|
@@ -316,14 +305,14 @@ var MediaSingleNode = /*#__PURE__*/function (_Component) {
|
|
|
316
305
|
}, {
|
|
317
306
|
key: "render",
|
|
318
307
|
value: function render() {
|
|
319
|
-
var _this$
|
|
320
|
-
selected = _this$
|
|
321
|
-
getPos = _this$
|
|
322
|
-
node = _this$
|
|
323
|
-
mediaOptions = _this$
|
|
324
|
-
fullWidthMode = _this$
|
|
325
|
-
state = _this$
|
|
326
|
-
view = _this$
|
|
308
|
+
var _this$props2 = this.props,
|
|
309
|
+
selected = _this$props2.selected,
|
|
310
|
+
getPos = _this$props2.getPos,
|
|
311
|
+
node = _this$props2.node,
|
|
312
|
+
mediaOptions = _this$props2.mediaOptions,
|
|
313
|
+
fullWidthMode = _this$props2.fullWidthMode,
|
|
314
|
+
state = _this$props2.view.state,
|
|
315
|
+
view = _this$props2.view;
|
|
327
316
|
var _ref4 = node.attrs,
|
|
328
317
|
layout = _ref4.layout,
|
|
329
318
|
mediaSingleWidth = _ref4.width;
|
|
@@ -395,12 +384,12 @@ var MediaSingleNode = /*#__PURE__*/function (_Component) {
|
|
|
395
384
|
view: this.props.view,
|
|
396
385
|
getPos: getPos,
|
|
397
386
|
updateSize: this.updateSize,
|
|
398
|
-
displayGrid: this.displayGrid,
|
|
399
387
|
gridSize: 12,
|
|
400
388
|
viewMediaClientConfig: this.state.viewMediaClientConfig,
|
|
401
389
|
allowBreakoutSnapPoints: mediaOptions && mediaOptions.allowBreakoutSnapPoints,
|
|
402
390
|
selected: isSelected,
|
|
403
|
-
dispatchAnalyticsEvent: this.props.dispatchAnalyticsEvent
|
|
391
|
+
dispatchAnalyticsEvent: this.props.dispatchAnalyticsEvent,
|
|
392
|
+
pluginInjectionApi: this.props.pluginInjectionApi
|
|
404
393
|
}), MediaChildren) : jsx(MediaSingle, mediaSingleProps, MediaChildren);
|
|
405
394
|
}
|
|
406
395
|
}]);
|
|
@@ -35,10 +35,21 @@ var ResizableMediaSingle = /*#__PURE__*/function (_React$Component) {
|
|
|
35
35
|
// We default to true until we resolve the file type
|
|
36
36
|
isVideoFile: true
|
|
37
37
|
});
|
|
38
|
-
_defineProperty(_assertThisInitialized(_this), "
|
|
38
|
+
_defineProperty(_assertThisInitialized(_this), "displayGrid", function (visible, gridType, highlight) {
|
|
39
|
+
var _pluginInjectionApi$d, _pluginInjectionApi$d2, _pluginInjectionApi$d3;
|
|
39
40
|
var _this$props = _this.props,
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
pluginInjectionApi = _this$props.pluginInjectionApi,
|
|
42
|
+
view = _this$props.view;
|
|
43
|
+
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)({
|
|
44
|
+
visible: visible,
|
|
45
|
+
gridType: gridType,
|
|
46
|
+
highlight: highlight
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
_defineProperty(_assertThisInitialized(_this), "calcNewSize", function (newWidth, stop) {
|
|
50
|
+
var _this$props2 = _this.props,
|
|
51
|
+
layout = _this$props2.layout,
|
|
52
|
+
state = _this$props2.view.state;
|
|
42
53
|
var newPct = calcPctFromPx(newWidth, _this.props.lineLength) * 100;
|
|
43
54
|
_this.setState({
|
|
44
55
|
resizedPctWidth: newPct
|
|
@@ -73,17 +84,17 @@ var ResizableMediaSingle = /*#__PURE__*/function (_React$Component) {
|
|
|
73
84
|
return _this.insideInlineLike ? calcColumnsFromPx(offsetLeft, _this.props.lineLength, _this.props.gridSize) : 0;
|
|
74
85
|
});
|
|
75
86
|
_defineProperty(_assertThisInitialized(_this), "calcPxWidth", function (useLayout) {
|
|
76
|
-
var _this$
|
|
77
|
-
_this$
|
|
78
|
-
origWidth = _this$
|
|
79
|
-
origHeight = _this$
|
|
80
|
-
layout = _this$
|
|
81
|
-
pctWidth = _this$
|
|
82
|
-
lineLength = _this$
|
|
83
|
-
containerWidth = _this$
|
|
84
|
-
fullWidthMode = _this$
|
|
85
|
-
getPos = _this$
|
|
86
|
-
state = _this$
|
|
87
|
+
var _this$props3 = _this.props,
|
|
88
|
+
_this$props3$width = _this$props3.width,
|
|
89
|
+
origWidth = _this$props3$width === void 0 ? 0 : _this$props3$width,
|
|
90
|
+
origHeight = _this$props3.height,
|
|
91
|
+
layout = _this$props3.layout,
|
|
92
|
+
pctWidth = _this$props3.pctWidth,
|
|
93
|
+
lineLength = _this$props3.lineLength,
|
|
94
|
+
containerWidth = _this$props3.containerWidth,
|
|
95
|
+
fullWidthMode = _this$props3.fullWidthMode,
|
|
96
|
+
getPos = _this$props3.getPos,
|
|
97
|
+
state = _this$props3.view.state;
|
|
87
98
|
var resizedPctWidth = _this.state.resizedPctWidth;
|
|
88
99
|
var pos = typeof getPos === 'function' ? getPos() : undefined;
|
|
89
100
|
return calcMediaPxWidth({
|
|
@@ -114,10 +125,10 @@ var ResizableMediaSingle = /*#__PURE__*/function (_React$Component) {
|
|
|
114
125
|
if (snapWidth > akEditorWideLayoutWidth) {
|
|
115
126
|
return ['full-width'];
|
|
116
127
|
}
|
|
117
|
-
var _this$
|
|
118
|
-
layout = _this$
|
|
119
|
-
lineLength = _this$
|
|
120
|
-
gridSize = _this$
|
|
128
|
+
var _this$props4 = _this.props,
|
|
129
|
+
layout = _this$props4.layout,
|
|
130
|
+
lineLength = _this$props4.lineLength,
|
|
131
|
+
gridSize = _this$props4.gridSize;
|
|
121
132
|
var columns = calcColumnsFromPx(snapWidth, lineLength, gridSize);
|
|
122
133
|
var columnWidth = Math.round(columns);
|
|
123
134
|
var highlight = [];
|
|
@@ -312,15 +323,15 @@ var ResizableMediaSingle = /*#__PURE__*/function (_React$Component) {
|
|
|
312
323
|
key: "render",
|
|
313
324
|
value: function render() {
|
|
314
325
|
var _this2 = this;
|
|
315
|
-
var _this$
|
|
316
|
-
origWidth = _this$
|
|
317
|
-
origHeight = _this$
|
|
318
|
-
layout = _this$
|
|
319
|
-
pctWidth = _this$
|
|
320
|
-
containerWidth = _this$
|
|
321
|
-
fullWidthMode = _this$
|
|
322
|
-
selected = _this$
|
|
323
|
-
children = _this$
|
|
326
|
+
var _this$props5 = this.props,
|
|
327
|
+
origWidth = _this$props5.width,
|
|
328
|
+
origHeight = _this$props5.height,
|
|
329
|
+
layout = _this$props5.layout,
|
|
330
|
+
pctWidth = _this$props5.pctWidth,
|
|
331
|
+
containerWidth = _this$props5.containerWidth,
|
|
332
|
+
fullWidthMode = _this$props5.fullWidthMode,
|
|
333
|
+
selected = _this$props5.selected,
|
|
334
|
+
children = _this$props5.children;
|
|
324
335
|
var initialWidth = this.calcPxWidth(); // width with padding
|
|
325
336
|
var ratio;
|
|
326
337
|
if (origWidth) {
|
|
@@ -357,6 +368,7 @@ var ResizableMediaSingle = /*#__PURE__*/function (_React$Component) {
|
|
|
357
368
|
fullWidthMode: fullWidthMode
|
|
358
369
|
})
|
|
359
370
|
}, jsx(Resizer, _extends({}, this.props, {
|
|
371
|
+
displayGrid: this.displayGrid,
|
|
360
372
|
ratio: ratio,
|
|
361
373
|
width: initialWidth,
|
|
362
374
|
selected: selected,
|
|
@@ -2,7 +2,6 @@ import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
|
|
|
2
2
|
import { liftTarget } from 'prosemirror-transform';
|
|
3
3
|
import { cellSelectionNodesBetween } from '../../../utils/cell-selection';
|
|
4
4
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
5
|
-
import { addAnalytics } from '../../analytics';
|
|
6
5
|
export var FORMATTING_NODE_TYPES = ['heading', 'codeBlock', 'blockquote'];
|
|
7
6
|
export var FORMATTING_MARK_TYPES = ['em', 'code', 'strike', 'strong', 'underline', 'textColor', 'subsup'];
|
|
8
7
|
var formatTypes = {
|
|
@@ -14,8 +13,8 @@ var formatTypes = {
|
|
|
14
13
|
textColor: ACTION_SUBJECT_ID.FORMAT_COLOR,
|
|
15
14
|
subsup: 'subsup'
|
|
16
15
|
};
|
|
17
|
-
export function clearFormattingWithAnalytics(inputMethod) {
|
|
18
|
-
return clearFormatting(inputMethod);
|
|
16
|
+
export function clearFormattingWithAnalytics(inputMethod, editorAnalyticsAPI) {
|
|
17
|
+
return clearFormatting(inputMethod, editorAnalyticsAPI);
|
|
19
18
|
}
|
|
20
19
|
function clearNodeFormattingOnSelection(state, tr, formattedNodeType, nodeName, formattingCleared) {
|
|
21
20
|
return function (node, pos) {
|
|
@@ -41,7 +40,7 @@ function clearNodeFormattingOnSelection(state, tr, formattedNodeType, nodeName,
|
|
|
41
40
|
return true;
|
|
42
41
|
};
|
|
43
42
|
}
|
|
44
|
-
export function clearFormatting(inputMethod) {
|
|
43
|
+
export function clearFormatting(inputMethod, editorAnalyticsAPI) {
|
|
45
44
|
return function (state, dispatch) {
|
|
46
45
|
var tr = state.tr;
|
|
47
46
|
var formattingCleared = [];
|
|
@@ -83,7 +82,7 @@ export function clearFormatting(inputMethod) {
|
|
|
83
82
|
});
|
|
84
83
|
tr.setStoredMarks([]);
|
|
85
84
|
if (formattingCleared.length && inputMethod) {
|
|
86
|
-
|
|
85
|
+
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent({
|
|
87
86
|
action: ACTION.FORMATTED,
|
|
88
87
|
eventType: EVENT_TYPE.TRACK,
|
|
89
88
|
actionSubject: ACTION_SUBJECT.TEXT,
|
|
@@ -92,7 +91,7 @@ export function clearFormatting(inputMethod) {
|
|
|
92
91
|
inputMethod: inputMethod,
|
|
93
92
|
formattingCleared: formattingCleared
|
|
94
93
|
}
|
|
95
|
-
});
|
|
94
|
+
})(tr);
|
|
96
95
|
}
|
|
97
96
|
if (dispatch) {
|
|
98
97
|
dispatch(tr);
|
|
@@ -11,6 +11,7 @@ import textFormattingSmartInputRulePlugin from './pm-plugins/smart-input-rule';
|
|
|
11
11
|
import Toolbar from './ui/Toolbar';
|
|
12
12
|
var textFormatting = function textFormatting() {
|
|
13
13
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
14
|
+
var api = arguments.length > 1 ? arguments[1] : undefined;
|
|
14
15
|
return {
|
|
15
16
|
name: 'textFormatting',
|
|
16
17
|
marks: function marks() {
|
|
@@ -68,7 +69,8 @@ var textFormatting = function textFormatting() {
|
|
|
68
69
|
}, {
|
|
69
70
|
name: 'textFormattingClearKeymap',
|
|
70
71
|
plugin: function plugin() {
|
|
71
|
-
|
|
72
|
+
var _api$dependencies$ana;
|
|
73
|
+
return clearFormattingKeymapPlugin(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);
|
|
72
74
|
}
|
|
73
75
|
}, {
|
|
74
76
|
name: 'textFormattingKeymap',
|
|
@@ -91,6 +93,7 @@ var textFormatting = function textFormatting() {
|
|
|
91
93
|
clearFormattingPluginState: clearFormattingPluginKey
|
|
92
94
|
},
|
|
93
95
|
render: function render() {
|
|
96
|
+
var _api$dependencies$ana2;
|
|
94
97
|
return /*#__PURE__*/React.createElement(Toolbar, {
|
|
95
98
|
editorState: editorView.state,
|
|
96
99
|
popupsMountPoint: popupsMountPoint,
|
|
@@ -99,7 +102,8 @@ var textFormatting = function textFormatting() {
|
|
|
99
102
|
isReducedSpacing: isToolbarReducedSpacing,
|
|
100
103
|
editorView: editorView,
|
|
101
104
|
isToolbarDisabled: disabled,
|
|
102
|
-
shouldUseResponsiveToolbar: Boolean(options.responsiveToolbarMenu)
|
|
105
|
+
shouldUseResponsiveToolbar: Boolean(options.responsiveToolbarMenu),
|
|
106
|
+
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
|
|
103
107
|
});
|
|
104
108
|
}
|
|
105
109
|
});
|
|
@@ -2,9 +2,9 @@ import { keymap } from 'prosemirror-keymap';
|
|
|
2
2
|
import * as keymaps from '../../../keymaps';
|
|
3
3
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { clearFormattingWithAnalytics } from '../commands/clear-formatting';
|
|
5
|
-
export function keymapPlugin() {
|
|
5
|
+
export function keymapPlugin(editorAnalyticsAPI) {
|
|
6
6
|
var list = {};
|
|
7
|
-
keymaps.bindKeymapWithCommand(keymaps.clearFormatting.common, clearFormattingWithAnalytics(INPUT_METHOD.SHORTCUT), list);
|
|
7
|
+
keymaps.bindKeymapWithCommand(keymaps.clearFormatting.common, clearFormattingWithAnalytics(INPUT_METHOD.SHORTCUT, editorAnalyticsAPI), list);
|
|
8
8
|
return keymap(list);
|
|
9
9
|
}
|
|
10
10
|
export default keymapPlugin;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import { useMemo } from 'react';
|
|
2
|
+
import { useCallback, useMemo } from 'react';
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
4
|
import { shortcutStyle } from '../../../../../ui/styles';
|
|
5
5
|
import { toolbarMessages } from '../toolbar-messages';
|
|
@@ -7,7 +7,6 @@ import { clearFormattingWithAnalytics } from '../../../commands/clear-formatting
|
|
|
7
7
|
import { pluginKey as clearFormattingPluginKey } from '../../../pm-plugins/clear-formatting';
|
|
8
8
|
import { clearFormatting as clearFormattingKeymap, tooltip } from '../../../../../keymaps';
|
|
9
9
|
import { INPUT_METHOD } from '../../../../analytics/types/enums';
|
|
10
|
-
var clearFormattingToolbar = clearFormattingWithAnalytics(INPUT_METHOD.TOOLBAR);
|
|
11
10
|
var useClearFormattingPluginState = function useClearFormattingPluginState(editorState) {
|
|
12
11
|
return useMemo(function () {
|
|
13
12
|
return clearFormattingPluginKey.getState(editorState);
|
|
@@ -15,11 +14,15 @@ var useClearFormattingPluginState = function useClearFormattingPluginState(edito
|
|
|
15
14
|
};
|
|
16
15
|
export var useClearIcon = function useClearIcon(_ref) {
|
|
17
16
|
var intl = _ref.intl,
|
|
18
|
-
editorState = _ref.editorState
|
|
17
|
+
editorState = _ref.editorState,
|
|
18
|
+
editorAnalyticsAPI = _ref.editorAnalyticsAPI;
|
|
19
19
|
var pluginState = useClearFormattingPluginState(editorState);
|
|
20
20
|
var isPluginAvailable = Boolean(pluginState);
|
|
21
21
|
var formattingIsPresent = Boolean(pluginState === null || pluginState === void 0 ? void 0 : pluginState.formattingIsPresent);
|
|
22
22
|
var clearFormattingLabel = intl.formatMessage(toolbarMessages.clearFormatting);
|
|
23
|
+
var clearFormattingToolbar = useCallback(function (state, dispatch) {
|
|
24
|
+
return clearFormattingWithAnalytics(INPUT_METHOD.TOOLBAR, editorAnalyticsAPI)(state, dispatch);
|
|
25
|
+
}, [editorAnalyticsAPI]);
|
|
23
26
|
return useMemo(function () {
|
|
24
27
|
if (!isPluginAvailable) {
|
|
25
28
|
return null;
|
|
@@ -38,5 +41,5 @@ export var useClearIcon = function useClearIcon(_ref) {
|
|
|
38
41
|
isDisabled: !formattingIsPresent,
|
|
39
42
|
'aria-label': clearFormattingKeymap ? tooltip(clearFormattingKeymap, String(clearFormattingLabel)) : String(clearFormattingLabel)
|
|
40
43
|
};
|
|
41
|
-
}, [
|
|
44
|
+
}, [isPluginAvailable, clearFormattingToolbar, clearFormattingLabel, formattingIsPresent]);
|
|
42
45
|
};
|
|
@@ -32,7 +32,8 @@ var ToolbarFormatting = function ToolbarFormatting(_ref) {
|
|
|
32
32
|
toolbarSize = _ref.toolbarSize,
|
|
33
33
|
isReducedSpacing = _ref.isReducedSpacing,
|
|
34
34
|
isToolbarDisabled = _ref.isToolbarDisabled,
|
|
35
|
-
intl = _ref.intl
|
|
35
|
+
intl = _ref.intl,
|
|
36
|
+
editorAnalyticsAPI = _ref.editorAnalyticsAPI;
|
|
36
37
|
var editorState = useMemo(function () {
|
|
37
38
|
return editorView.state;
|
|
38
39
|
}, [editorView.state]);
|
|
@@ -47,7 +48,8 @@ var ToolbarFormatting = function ToolbarFormatting(_ref) {
|
|
|
47
48
|
});
|
|
48
49
|
var clearIcon = useClearIcon({
|
|
49
50
|
editorState: editorState,
|
|
50
|
-
intl: intl
|
|
51
|
+
intl: intl,
|
|
52
|
+
editorAnalyticsAPI: editorAnalyticsAPI
|
|
51
53
|
});
|
|
52
54
|
var menuIconTypeList = useResponsiveIconTypeMenu({
|
|
53
55
|
toolbarSize: toolbarSize,
|
|
@@ -168,7 +170,8 @@ var Toolbar = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
168
170
|
editorView = _this$props.editorView,
|
|
169
171
|
isToolbarDisabled = _this$props.isToolbarDisabled,
|
|
170
172
|
shouldUseResponsiveToolbar = _this$props.shouldUseResponsiveToolbar,
|
|
171
|
-
intl = _this$props.intl
|
|
173
|
+
intl = _this$props.intl,
|
|
174
|
+
editorAnalyticsAPI = _this$props.editorAnalyticsAPI;
|
|
172
175
|
return jsx(ToolbarFormatting, {
|
|
173
176
|
popupsMountPoint: popupsMountPoint,
|
|
174
177
|
popupsScrollableElement: popupsScrollableElement,
|
|
@@ -177,7 +180,8 @@ var Toolbar = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
177
180
|
editorView: editorView,
|
|
178
181
|
isToolbarDisabled: isToolbarDisabled,
|
|
179
182
|
shouldUseResponsiveToolbar: shouldUseResponsiveToolbar,
|
|
180
|
-
intl: intl
|
|
183
|
+
intl: intl,
|
|
184
|
+
editorAnalyticsAPI: editorAnalyticsAPI
|
|
181
185
|
});
|
|
182
186
|
}
|
|
183
187
|
}]);
|
package/dist/esm/version.json
CHANGED