@atlaskit/editor-presets 0.1.0
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/CHANGELOG.md +8 -0
- package/LICENSE.md +11 -0
- package/README.md +101 -0
- package/dist/cjs/confluence-full-page-base/index.js +320 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/analyticsPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/annotationPluginOptions.js +31 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.js +19 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/basePluginOptions.js +19 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.js +28 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/blockTypePluginOptions.js +19 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/breakoutPluginOptions.js +13 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/cardPluginOptions.js +48 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.js +15 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/collabEditPluginOptions.js +27 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.js +13 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.js +22 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/datePluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/emojiPluginOptions.js +13 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/expandPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/extensionPluginOptions.js +18 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.js +47 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/findReplacePluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/gridPluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.js +18 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.js +20 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/layoutPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/limitedModePluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/loomPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.js +18 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +62 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/mentionsPluginOptions.js +19 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/metricsPluginOptions.js +10 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/panelPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/pastePluginOptions.js +30 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.js +66 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +75 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.js +21 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.js +10 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.js +15 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/selectionPluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/showDiffPluginOptions.js +17 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/statusPluginOptions.js +15 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.js +40 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/tablePluginOptions.js +52 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.js +20 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/textColorPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.js +15 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/toolbarPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.js +17 -0
- package/dist/cjs/confluence-full-page-base/types.js +5 -0
- package/dist/cjs/index.js +2 -0
- package/dist/es2019/confluence-full-page-base/index.js +316 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/analyticsPluginOptions.js +3 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/annotationPluginOptions.js +26 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.js +14 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/basePluginOptions.js +12 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.js +23 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/blockTypePluginOptions.js +10 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/breakoutPluginOptions.js +8 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/cardPluginOptions.js +43 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.js +6 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/collabEditPluginOptions.js +22 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.js +8 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.js +17 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/datePluginOptions.js +5 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/emojiPluginOptions.js +8 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/expandPluginOptions.js +11 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/extensionPluginOptions.js +13 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.js +38 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/findReplacePluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/gridPluginOptions.js +5 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.js +12 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.js +13 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.js +15 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/layoutPluginOptions.js +11 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/limitedModePluginOptions.js +9 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/loomPluginOptions.js +11 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.js +11 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +57 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/mentionsPluginOptions.js +14 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/metricsPluginOptions.js +5 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/panelPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/pastePluginOptions.js +25 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.js +59 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +67 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.js +3 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.js +14 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.js +5 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.js +10 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/selectionPluginOptions.js +9 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.js +11 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/showDiffPluginOptions.js +12 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/statusPluginOptions.js +6 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.js +3 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.js +37 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/tablePluginOptions.js +45 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.js +15 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/textColorPluginOptions.js +3 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.js +5 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.js +6 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/toolbarPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.js +9 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.js +5 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.js +12 -0
- package/dist/es2019/confluence-full-page-base/types.js +1 -0
- package/dist/es2019/index.js +1 -0
- package/dist/esm/confluence-full-page-base/index.js +314 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/analyticsPluginOptions.js +5 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/annotationPluginOptions.js +25 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.js +13 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/basePluginOptions.js +13 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.js +22 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/blockTypePluginOptions.js +12 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/breakoutPluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/cardPluginOptions.js +42 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.js +8 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.js +9 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/collabEditPluginOptions.js +21 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.js +16 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/datePluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/emojiPluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/expandPluginOptions.js +10 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/extensionPluginOptions.js +12 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.js +40 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/findReplacePluginOptions.js +9 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/gridPluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.js +11 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.js +12 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.js +14 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/layoutPluginOptions.js +10 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/limitedModePluginOptions.js +8 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/loomPluginOptions.js +10 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.js +11 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +56 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/mentionsPluginOptions.js +13 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/metricsPluginOptions.js +4 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/panelPluginOptions.js +9 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/pastePluginOptions.js +24 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.js +59 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +69 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.js +5 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.js +14 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.js +4 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.js +9 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/selectionPluginOptions.js +8 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.js +10 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/showDiffPluginOptions.js +11 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/statusPluginOptions.js +8 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.js +5 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.js +34 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/tablePluginOptions.js +46 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.js +14 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/textColorPluginOptions.js +5 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.js +8 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/toolbarPluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.js +8 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.js +11 -0
- package/dist/esm/confluence-full-page-base/types.js +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/types/confluence-full-page-base/index.d.ts +16 -0
- package/dist/types/confluence-full-page-base/pluginOptions/analyticsPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/annotationPluginOptions.d.ts +23 -0
- package/dist/types/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/basePluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.d.ts +24 -0
- package/dist/types/confluence-full-page-base/pluginOptions/blockTypePluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/breakoutPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/cardPluginOptions.d.ts +34 -0
- package/dist/types/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/collabEditPluginOptions.d.ts +13 -0
- package/dist/types/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/datePluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/emojiPluginOptions.d.ts +11 -0
- package/dist/types/confluence-full-page-base/pluginOptions/expandPluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/extensionPluginOptions.d.ts +15 -0
- package/dist/types/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/findReplacePluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/gridPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.d.ts +13 -0
- package/dist/types/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/layoutPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/limitedModePluginOptions.d.ts +15 -0
- package/dist/types/confluence-full-page-base/pluginOptions/loomPluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.d.ts +7 -0
- package/dist/types/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.d.ts +19 -0
- package/dist/types/confluence-full-page-base/pluginOptions/mentionsPluginOptions.d.ts +15 -0
- package/dist/types/confluence-full-page-base/pluginOptions/metricsPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/panelPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/pastePluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.d.ts +57 -0
- package/dist/types/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.d.ts +15 -0
- package/dist/types/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/selectionPluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.d.ts +13 -0
- package/dist/types/confluence-full-page-base/pluginOptions/showDiffPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/statusPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.d.ts +44 -0
- package/dist/types/confluence-full-page-base/pluginOptions/tablePluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.d.ts +14 -0
- package/dist/types/confluence-full-page-base/pluginOptions/textColorPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/toolbarPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.d.ts +12 -0
- package/dist/types/confluence-full-page-base/types.d.ts +447 -0
- package/dist/types/index.d.ts +0 -0
- package/dist/types-ts4.5/confluence-full-page-base/index.d.ts +16 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/analyticsPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/annotationPluginOptions.d.ts +23 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/basePluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.d.ts +24 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/blockTypePluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/breakoutPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/cardPluginOptions.d.ts +34 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/collabEditPluginOptions.d.ts +13 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/datePluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/emojiPluginOptions.d.ts +11 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/expandPluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/extensionPluginOptions.d.ts +15 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/findReplacePluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/gridPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.d.ts +13 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/layoutPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/limitedModePluginOptions.d.ts +15 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/loomPluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.d.ts +7 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.d.ts +19 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/mentionsPluginOptions.d.ts +15 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/metricsPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/panelPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/pastePluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.d.ts +57 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.d.ts +15 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionPluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.d.ts +13 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/showDiffPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/statusPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.d.ts +44 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/tablePluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.d.ts +14 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/textColorPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/toolbarPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.d.ts +12 -0
- package/dist/types-ts4.5/confluence-full-page-base/types.d.ts +453 -0
- package/dist/types-ts4.5/index.d.ts +0 -0
- package/full-page/package.json +15 -0
- package/full-page/types/package.json +15 -0
- package/package.json +199 -0
- package/tsconfig.json +8 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// Do not export anything from this file
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
2
|
+
import { accessibilityUtilsPlugin } from '@atlaskit/editor-plugin-accessibility-utils';
|
|
3
|
+
import { alignmentPlugin } from '@atlaskit/editor-plugin-alignment';
|
|
4
|
+
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
5
|
+
import { annotationPlugin } from '@atlaskit/editor-plugin-annotation';
|
|
6
|
+
import { avatarGroupPlugin } from '@atlaskit/editor-plugin-avatar-group';
|
|
7
|
+
import { basePlugin } from '@atlaskit/editor-plugin-base';
|
|
8
|
+
import { batchAttributeUpdatesPlugin } from '@atlaskit/editor-plugin-batch-attribute-updates';
|
|
9
|
+
import { betterTypeHistoryPlugin } from '@atlaskit/editor-plugin-better-type-history';
|
|
10
|
+
import { blockControlsPlugin } from '@atlaskit/editor-plugin-block-controls';
|
|
11
|
+
import { blockMenuPlugin } from '@atlaskit/editor-plugin-block-menu';
|
|
12
|
+
import { blockTypePlugin } from '@atlaskit/editor-plugin-block-type';
|
|
13
|
+
import { borderPlugin } from '@atlaskit/editor-plugin-border';
|
|
14
|
+
import { breakoutPlugin } from '@atlaskit/editor-plugin-breakout';
|
|
15
|
+
import { captionPlugin } from '@atlaskit/editor-plugin-caption';
|
|
16
|
+
import { cardPlugin } from '@atlaskit/editor-plugin-card';
|
|
17
|
+
import { clearMarksOnEmptyDocPlugin } from '@atlaskit/editor-plugin-clear-marks-on-empty-doc';
|
|
18
|
+
import { clipboardPlugin } from '@atlaskit/editor-plugin-clipboard';
|
|
19
|
+
import { codeBidiWarningPlugin } from '@atlaskit/editor-plugin-code-bidi-warning';
|
|
20
|
+
import { codeBlockPlugin } from '@atlaskit/editor-plugin-code-block';
|
|
21
|
+
import { codeBlockAdvancedPlugin } from '@atlaskit/editor-plugin-code-block-advanced';
|
|
22
|
+
import { collabEditPlugin } from '@atlaskit/editor-plugin-collab-edit';
|
|
23
|
+
import { compositionPlugin } from '@atlaskit/editor-plugin-composition';
|
|
24
|
+
import { connectivityPlugin } from '@atlaskit/editor-plugin-connectivity';
|
|
25
|
+
import { contentFormatPlugin } from '@atlaskit/editor-plugin-content-format';
|
|
26
|
+
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
27
|
+
import { contextIdentifierPlugin } from '@atlaskit/editor-plugin-context-identifier';
|
|
28
|
+
import { contextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
|
|
29
|
+
import { copyButtonPlugin } from '@atlaskit/editor-plugin-copy-button';
|
|
30
|
+
import { customAutoformatPlugin } from '@atlaskit/editor-plugin-custom-autoformat';
|
|
31
|
+
import { dataConsumerPlugin } from '@atlaskit/editor-plugin-data-consumer';
|
|
32
|
+
import { datePlugin } from '@atlaskit/editor-plugin-date';
|
|
33
|
+
import { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
34
|
+
import { editorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
|
|
35
|
+
import { editorViewModePlugin } from '@atlaskit/editor-plugin-editor-viewmode';
|
|
36
|
+
import { editorViewModeEffectsPlugin } from '@atlaskit/editor-plugin-editor-viewmode-effects';
|
|
37
|
+
import { emojiPlugin } from '@atlaskit/editor-plugin-emoji';
|
|
38
|
+
import { expandPlugin } from '@atlaskit/editor-plugin-expand';
|
|
39
|
+
import { extensionPlugin } from '@atlaskit/editor-plugin-extension';
|
|
40
|
+
import { featureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
41
|
+
import { findReplacePlugin } from '@atlaskit/editor-plugin-find-replace';
|
|
42
|
+
import { floatingToolbarPlugin } from '@atlaskit/editor-plugin-floating-toolbar';
|
|
43
|
+
import { focusPlugin } from '@atlaskit/editor-plugin-focus';
|
|
44
|
+
import { fragmentPlugin } from '@atlaskit/editor-plugin-fragment';
|
|
45
|
+
import { gridPlugin } from '@atlaskit/editor-plugin-grid';
|
|
46
|
+
import { guidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
47
|
+
import { helpDialogPlugin } from '@atlaskit/editor-plugin-help-dialog';
|
|
48
|
+
import { highlightPlugin } from '@atlaskit/editor-plugin-highlight';
|
|
49
|
+
import { historyPlugin } from '@atlaskit/editor-plugin-history';
|
|
50
|
+
import { hyperlinkPlugin } from '@atlaskit/editor-plugin-hyperlink';
|
|
51
|
+
import { indentationPlugin } from '@atlaskit/editor-plugin-indentation';
|
|
52
|
+
import { insertBlockPlugin } from '@atlaskit/editor-plugin-insert-block';
|
|
53
|
+
import { interactionPlugin } from '@atlaskit/editor-plugin-interaction';
|
|
54
|
+
import { layoutPlugin } from '@atlaskit/editor-plugin-layout';
|
|
55
|
+
import { limitedModePlugin } from '@atlaskit/editor-plugin-limited-mode';
|
|
56
|
+
import { listPlugin } from '@atlaskit/editor-plugin-list';
|
|
57
|
+
import { localIdPlugin } from '@atlaskit/editor-plugin-local-id';
|
|
58
|
+
import { loomPlugin } from '@atlaskit/editor-plugin-loom';
|
|
59
|
+
import { mediaPlugin } from '@atlaskit/editor-plugin-media';
|
|
60
|
+
import { mediaInsertPlugin } from '@atlaskit/editor-plugin-media-insert';
|
|
61
|
+
import { mentionsPlugin } from '@atlaskit/editor-plugin-mentions';
|
|
62
|
+
import { metricsPlugin } from '@atlaskit/editor-plugin-metrics';
|
|
63
|
+
import { panelPlugin } from '@atlaskit/editor-plugin-panel';
|
|
64
|
+
import { pastePlugin } from '@atlaskit/editor-plugin-paste';
|
|
65
|
+
import { pasteOptionsToolbarPlugin } from '@atlaskit/editor-plugin-paste-options-toolbar';
|
|
66
|
+
import { placeholderPlugin } from '@atlaskit/editor-plugin-placeholder';
|
|
67
|
+
import { placeholderTextPlugin } from '@atlaskit/editor-plugin-placeholder-text';
|
|
68
|
+
import { primaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
|
|
69
|
+
import { quickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
|
|
70
|
+
import { rulePlugin } from '@atlaskit/editor-plugin-rule';
|
|
71
|
+
import { scrollIntoViewPlugin } from '@atlaskit/editor-plugin-scroll-into-view';
|
|
72
|
+
import { selectionPlugin } from '@atlaskit/editor-plugin-selection';
|
|
73
|
+
import { selectionExtensionPlugin } from '@atlaskit/editor-plugin-selection-extension';
|
|
74
|
+
import { selectionMarkerPlugin } from '@atlaskit/editor-plugin-selection-marker';
|
|
75
|
+
import { selectionToolbarPlugin } from '@atlaskit/editor-plugin-selection-toolbar';
|
|
76
|
+
import { showDiffPlugin } from '@atlaskit/editor-plugin-show-diff';
|
|
77
|
+
import { statusPlugin } from '@atlaskit/editor-plugin-status';
|
|
78
|
+
import { submitEditorPlugin } from '@atlaskit/editor-plugin-submit-editor';
|
|
79
|
+
import { syncedBlockPlugin } from '@atlaskit/editor-plugin-synced-block';
|
|
80
|
+
import { tablePlugin } from '@atlaskit/editor-plugin-table';
|
|
81
|
+
import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugin-tasks-and-decisions';
|
|
82
|
+
import { textColorPlugin } from '@atlaskit/editor-plugin-text-color';
|
|
83
|
+
import { textFormattingPlugin } from '@atlaskit/editor-plugin-text-formatting';
|
|
84
|
+
import { toolbarPlugin } from '@atlaskit/editor-plugin-toolbar';
|
|
85
|
+
import { toolbarListsIndentationPlugin } from '@atlaskit/editor-plugin-toolbar-lists-indentation';
|
|
86
|
+
import { trackChangesPlugin } from '@atlaskit/editor-plugin-track-changes';
|
|
87
|
+
import { typeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
88
|
+
import { ufoPlugin } from '@atlaskit/editor-plugin-ufo';
|
|
89
|
+
import { uiControlRegistryPlugin } from '@atlaskit/editor-plugin-ui-control-registry';
|
|
90
|
+
import { undoRedoPlugin } from '@atlaskit/editor-plugin-undo-redo';
|
|
91
|
+
import { unsupportedContentPlugin } from '@atlaskit/editor-plugin-unsupported-content';
|
|
92
|
+
import { userIntentPlugin } from '@atlaskit/editor-plugin-user-intent';
|
|
93
|
+
import { userPreferencesPlugin } from '@atlaskit/editor-plugin-user-preferences';
|
|
94
|
+
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
95
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
96
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
97
|
+
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
98
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
99
|
+
import { analyticsPluginOptions } from './pluginOptions/analyticsPluginOptions';
|
|
100
|
+
import { annotationPluginOptions } from './pluginOptions/annotationPluginOptions';
|
|
101
|
+
import { avatarGroupPluginOptions } from './pluginOptions/avatarGroupPluginOptions';
|
|
102
|
+
import { basePluginOptions } from './pluginOptions/basePluginOptions';
|
|
103
|
+
import { blockMenuPluginOptions } from './pluginOptions/blockMenuPluginOptions';
|
|
104
|
+
import { blockTypePluginOptions } from './pluginOptions/blockTypePluginOptions';
|
|
105
|
+
import { breakoutPluginOptions } from './pluginOptions/breakoutPluginOptions';
|
|
106
|
+
import { cardPluginOptions } from './pluginOptions/cardPluginOptions';
|
|
107
|
+
import { codeBidiWarningPluginOptions } from './pluginOptions/codeBidiWarningPluginOptions';
|
|
108
|
+
import { codeBlockAdvancedPluginOptions } from './pluginOptions/codeBlockAdvancedPluginOptions';
|
|
109
|
+
import { codeBlockPluginOptions } from './pluginOptions/codeBlockPluginOptions';
|
|
110
|
+
import { collabEditPluginOptions } from './pluginOptions/collabEditPluginOptions';
|
|
111
|
+
import { contentFormatPluginOptions } from './pluginOptions/contentFormatPluginOptions';
|
|
112
|
+
import { contextIdentifierPluginOptions } from './pluginOptions/contextIdentifierPluginOptions';
|
|
113
|
+
import { contextPanelPluginOptions } from './pluginOptions/contextPanelPluginOptions';
|
|
114
|
+
import { customAutoformatPluginOptions } from './pluginOptions/customAutoformatPluginOptions';
|
|
115
|
+
import { datePluginOptions } from './pluginOptions/datePluginOptions';
|
|
116
|
+
import { editorDisabledPluginOptions } from './pluginOptions/editorDisabledPluginOptions';
|
|
117
|
+
import { editorViewModePluginOptions } from './pluginOptions/editorViewModePluginOptions';
|
|
118
|
+
import { emojiPluginOptions } from './pluginOptions/emojiPluginOptions';
|
|
119
|
+
import { expandPluginOptions } from './pluginOptions/expandPluginOptions';
|
|
120
|
+
import { extensionPluginOptions } from './pluginOptions/extensionPluginOptions';
|
|
121
|
+
import { featureFlagsPluginOptions } from './pluginOptions/featureFlagsPluginOptions';
|
|
122
|
+
import { findReplacePluginOptions } from './pluginOptions/findReplacePluginOptions';
|
|
123
|
+
import { gridPluginOptions } from './pluginOptions/gridPluginOptions';
|
|
124
|
+
import { helpDialogPluginOptions } from './pluginOptions/helpDialogPluginOptions';
|
|
125
|
+
import { hyperlinkPluginOptions } from './pluginOptions/hyperlinkPluginOptions';
|
|
126
|
+
import { insertBlockPluginOptions } from './pluginOptions/insertBlockPluginOptions';
|
|
127
|
+
import { layoutPluginOptions } from './pluginOptions/layoutPluginOptions';
|
|
128
|
+
import { limitedModePluginOptions } from './pluginOptions/limitedModePluginOptions';
|
|
129
|
+
import { loomPluginOptions } from './pluginOptions/loomPluginOptions';
|
|
130
|
+
import { mediaPluginOptions } from './pluginOptions/mediaPluginOptions/mediaPluginOptions';
|
|
131
|
+
import { mentionsPluginOptions } from './pluginOptions/mentionsPluginOptions';
|
|
132
|
+
import { metricsPluginOptions } from './pluginOptions/metricsPluginOptions';
|
|
133
|
+
import { panelPluginOptions } from './pluginOptions/panelPluginOptions';
|
|
134
|
+
import { pastePluginOptions } from './pluginOptions/pastePluginOptions';
|
|
135
|
+
import { placeholderPluginOptions } from './pluginOptions/placeholderPluginOptions/placeholderPluginOptions';
|
|
136
|
+
import { placeholderTextPluginOptions } from './pluginOptions/placeholderTextPluginOptions';
|
|
137
|
+
import { primaryToolbarPluginOptions } from './pluginOptions/primaryToolbarPluginOptions';
|
|
138
|
+
import { quickInsertPluginOptions } from './pluginOptions/quickInsertPluginOptions';
|
|
139
|
+
import { selectionExtensionPluginOptions } from './pluginOptions/selectionExtensionPluginOptions';
|
|
140
|
+
import { selectionMarkerPluginOptions } from './pluginOptions/selectionMarkerPluginOptions';
|
|
141
|
+
import { selectionPluginOptions } from './pluginOptions/selectionPluginOptions';
|
|
142
|
+
import { selectionToolbarPluginOptions } from './pluginOptions/selectionToolbarPluginOptions';
|
|
143
|
+
import { showDiffPluginOptions } from './pluginOptions/showDiffPluginOptions';
|
|
144
|
+
import { statusPluginOptions } from './pluginOptions/statusPluginOptions';
|
|
145
|
+
import { submitEditorPluginOptions } from './pluginOptions/submitEditorPluginOptions';
|
|
146
|
+
import { syncedBlockPluginOptions } from './pluginOptions/syncedBlockPluginOptions';
|
|
147
|
+
import { tablePluginOptions } from './pluginOptions/tablePluginOptions';
|
|
148
|
+
import { tasksAndDecisionsPluginOptions } from './pluginOptions/tasksAndDecisionsPluginOptions';
|
|
149
|
+
import { textColorPluginOptions } from './pluginOptions/textColorPluginOptions';
|
|
150
|
+
import { textFormattingPluginOptions } from './pluginOptions/textFormattingPluginOptions';
|
|
151
|
+
import { toolbarListsIndentationPluginOptions } from './pluginOptions/toolbarListsIndentationPluginOptions';
|
|
152
|
+
import { toolbarPluginOptions } from './pluginOptions/toolbarPluginOptions';
|
|
153
|
+
import { trackChangesPluginOptions } from './pluginOptions/trackChangesPluginOptions';
|
|
154
|
+
import { typeAheadPluginOptions } from './pluginOptions/typeAheadPluginOptions';
|
|
155
|
+
import { userPreferencesPluginOptions } from './pluginOptions/userPreferencesPluginOptions';
|
|
156
|
+
/**
|
|
157
|
+
* Creates the public Confluence full page base editor preset.
|
|
158
|
+
*
|
|
159
|
+
* This preset includes all public @atlaskit/editor-plugin-* plugins used in the
|
|
160
|
+
* Confluence full page editor. Private plugins (AI, referentiality, etc.) are
|
|
161
|
+
* NOT included — they are added on top of this preset in editor-presets-confluence.
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* ```ts
|
|
165
|
+
* import { confluenceFullPageBasePreset } from '@atlaskit/editor-presets/confluence-full-page-base';
|
|
166
|
+
*
|
|
167
|
+
* const preset = confluenceFullPageBasePreset(options);
|
|
168
|
+
* ```
|
|
169
|
+
*/
|
|
170
|
+
export function confluenceFullPageBasePreset(props) {
|
|
171
|
+
var _enabledOptionalPlugi;
|
|
172
|
+
var intl = props.intl,
|
|
173
|
+
providers = props.providers,
|
|
174
|
+
enabledOptionalPlugins = props.enabledOptionalPlugins;
|
|
175
|
+
// We remove all `never` properties from the ConfluenceFullPageBasePresetOptions.pluginOptions,
|
|
176
|
+
// we need to return them back.
|
|
177
|
+
var pluginOptions = props.pluginOptions;
|
|
178
|
+
return new EditorPresetBuilder().maybeAdd([limitedModePlugin, limitedModePluginOptions({
|
|
179
|
+
options: pluginOptions.limitedMode
|
|
180
|
+
})], !pluginOptions.limitedMode.killSwitchEnabled).add([featureFlagsPlugin, featureFlagsPluginOptions({
|
|
181
|
+
options: pluginOptions.featureFlags
|
|
182
|
+
})]).add([analyticsPlugin, analyticsPluginOptions({
|
|
183
|
+
options: pluginOptions.analytics
|
|
184
|
+
})]).add(betterTypeHistoryPlugin).add([pastePlugin, pastePluginOptions({
|
|
185
|
+
options: pluginOptions.paste,
|
|
186
|
+
providers: providers
|
|
187
|
+
})]).add(clipboardPlugin).add(focusPlugin).add(compositionPlugin).add([contextIdentifierPlugin, contextIdentifierPluginOptions({
|
|
188
|
+
options: pluginOptions.contextIdentifier,
|
|
189
|
+
providers: providers
|
|
190
|
+
})]).add([basePlugin, basePluginOptions({
|
|
191
|
+
options: pluginOptions.base
|
|
192
|
+
})]).maybeAdd([userPreferencesPlugin, userPreferencesPluginOptions({
|
|
193
|
+
providers: providers,
|
|
194
|
+
options: pluginOptions.userPreferencesPlugin
|
|
195
|
+
})], enabledOptionalPlugins.userPreferences).add(decorationsPlugin).add([typeAheadPlugin, typeAheadPluginOptions({
|
|
196
|
+
options: pluginOptions.typeAhead
|
|
197
|
+
})]).add(historyPlugin).add([primaryToolbarPlugin, primaryToolbarPluginOptions({
|
|
198
|
+
options: pluginOptions.primaryToolbar
|
|
199
|
+
})]).maybeAdd([toolbarPlugin, toolbarPluginOptions({
|
|
200
|
+
options: pluginOptions.toolbar
|
|
201
|
+
})], Boolean(enabledOptionalPlugins.toolbar)).maybeAdd([blockMenuPlugin, blockMenuPluginOptions({
|
|
202
|
+
options: pluginOptions.blockMenu
|
|
203
|
+
})], editorExperiment('platform_editor_block_menu', true)).add(undoRedoPlugin).add([blockTypePlugin, blockTypePluginOptions({
|
|
204
|
+
options: pluginOptions.blockType
|
|
205
|
+
})]).add(clearMarksOnEmptyDocPlugin).add([selectionToolbarPlugin, selectionToolbarPluginOptions({
|
|
206
|
+
options: pluginOptions.selectionToolbar,
|
|
207
|
+
providers: providers
|
|
208
|
+
})]).add([hyperlinkPlugin, hyperlinkPluginOptions({
|
|
209
|
+
options: pluginOptions.hyperlink
|
|
210
|
+
})]).add([textFormattingPlugin, textFormattingPluginOptions({
|
|
211
|
+
options: pluginOptions.textFormatting
|
|
212
|
+
})]).add(widthPlugin).add([quickInsertPlugin, quickInsertPluginOptions({
|
|
213
|
+
options: pluginOptions.quickInsert
|
|
214
|
+
})]).add([placeholderPlugin, placeholderPluginOptions({
|
|
215
|
+
intl: intl,
|
|
216
|
+
options: pluginOptions.placeholder
|
|
217
|
+
})]).add(unsupportedContentPlugin).add([editorDisabledPlugin, editorDisabledPluginOptions({
|
|
218
|
+
options: pluginOptions.editorDisabled
|
|
219
|
+
})]).add([submitEditorPlugin, submitEditorPluginOptions({
|
|
220
|
+
options: pluginOptions.submitEditor
|
|
221
|
+
})]).add(copyButtonPlugin).maybeAdd(floatingToolbarPlugin, (_enabledOptionalPlugi = enabledOptionalPlugins.floatingToolbar) !== null && _enabledOptionalPlugi !== void 0 ? _enabledOptionalPlugi : true).maybeAdd(interactionPlugin, Boolean(enabledOptionalPlugins.interaction)).add([selectionPlugin, selectionPluginOptions({
|
|
222
|
+
options: pluginOptions.selection
|
|
223
|
+
})]).add([codeBlockPlugin, codeBlockPluginOptions({
|
|
224
|
+
options: pluginOptions.codeBlock
|
|
225
|
+
})]).add(ufoPlugin).add(dataConsumerPlugin).add(accessibilityUtilsPlugin).add(contentInsertionPlugin).add(batchAttributeUpdatesPlugin).add([breakoutPlugin, breakoutPluginOptions({
|
|
226
|
+
options: pluginOptions.breakout
|
|
227
|
+
})]).add(alignmentPlugin).add([textColorPlugin, textColorPluginOptions({
|
|
228
|
+
options: pluginOptions.textColor
|
|
229
|
+
})]).add(listPlugin).add(rulePlugin).add([expandPlugin, expandPluginOptions({
|
|
230
|
+
options: pluginOptions.expand
|
|
231
|
+
})]).add(guidelinePlugin).add([gridPlugin, gridPluginOptions({
|
|
232
|
+
options: pluginOptions.grid
|
|
233
|
+
})]).add([annotationPlugin, annotationPluginOptions({
|
|
234
|
+
options: pluginOptions.annotation,
|
|
235
|
+
providers: providers
|
|
236
|
+
})]).add([mediaPlugin, mediaPluginOptions({
|
|
237
|
+
intl: intl,
|
|
238
|
+
options: pluginOptions.media,
|
|
239
|
+
providers: providers
|
|
240
|
+
})]).add(mediaInsertPlugin).add(captionPlugin).add([mentionsPlugin, mentionsPluginOptions({
|
|
241
|
+
options: pluginOptions.mentions,
|
|
242
|
+
providers: providers
|
|
243
|
+
})]).add([emojiPlugin, emojiPluginOptions({
|
|
244
|
+
options: pluginOptions.emoji,
|
|
245
|
+
providers: providers
|
|
246
|
+
})]).add([tablePlugin, tablePluginOptions({
|
|
247
|
+
options: pluginOptions.table
|
|
248
|
+
})]).add([tasksAndDecisionsPlugin, tasksAndDecisionsPluginOptions({
|
|
249
|
+
options: pluginOptions.tasksAndDecisions,
|
|
250
|
+
providers: providers
|
|
251
|
+
})]).add([helpDialogPlugin, helpDialogPluginOptions({
|
|
252
|
+
options: {
|
|
253
|
+
imageUploadProviderExists: false,
|
|
254
|
+
aiEnabled: false
|
|
255
|
+
}
|
|
256
|
+
})]).add([collabEditPlugin, collabEditPluginOptions({
|
|
257
|
+
options: pluginOptions.collabEdit,
|
|
258
|
+
providers: providers
|
|
259
|
+
})]).add([panelPlugin, panelPluginOptions({
|
|
260
|
+
options: pluginOptions.panel
|
|
261
|
+
})]).add([contextPanelPlugin, contextPanelPluginOptions({
|
|
262
|
+
options: pluginOptions.contextPanel
|
|
263
|
+
})]).add([extensionPlugin, extensionPluginOptions({
|
|
264
|
+
options: pluginOptions.extension
|
|
265
|
+
})]).add([datePlugin, datePluginOptions({
|
|
266
|
+
options: pluginOptions.date
|
|
267
|
+
})]).add([placeholderTextPlugin, placeholderTextPluginOptions({
|
|
268
|
+
options: pluginOptions.placeholderText
|
|
269
|
+
})]).add([layoutPlugin, layoutPluginOptions({
|
|
270
|
+
options: pluginOptions.layout
|
|
271
|
+
})]).add([cardPlugin, cardPluginOptions({
|
|
272
|
+
options: pluginOptions.card,
|
|
273
|
+
providers: providers
|
|
274
|
+
})]).add([customAutoformatPlugin, customAutoformatPluginOptions({
|
|
275
|
+
options: pluginOptions.customAutoformat,
|
|
276
|
+
providers: providers
|
|
277
|
+
})]).add([statusPlugin, statusPluginOptions({
|
|
278
|
+
options: pluginOptions.status
|
|
279
|
+
})]).maybeAdd([syncedBlockPlugin, syncedBlockPluginOptions({
|
|
280
|
+
options: pluginOptions.syncedBlock
|
|
281
|
+
})], !!pluginOptions.syncedBlock && editorExperiment('platform_synced_block', true)).add(indentationPlugin).add(scrollIntoViewPlugin).add([toolbarListsIndentationPlugin, toolbarListsIndentationPluginOptions({
|
|
282
|
+
options: pluginOptions.toolbarListsIndentation
|
|
283
|
+
})]).add([insertBlockPlugin, insertBlockPluginOptions({
|
|
284
|
+
options: pluginOptions.insertBlock
|
|
285
|
+
})]).add([avatarGroupPlugin, avatarGroupPluginOptions({
|
|
286
|
+
options: pluginOptions.avatarGroup
|
|
287
|
+
})]).maybeAdd([findReplacePlugin, findReplacePluginOptions({
|
|
288
|
+
options: pluginOptions.findReplace
|
|
289
|
+
})], enabledOptionalPlugins.findReplace).add(borderPlugin).add(fragmentPlugin).add([pasteOptionsToolbarPlugin, {
|
|
290
|
+
usePopupBasedPasteActionsMenu: false
|
|
291
|
+
}]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true)).maybeAdd([codeBidiWarningPlugin, codeBidiWarningPluginOptions({
|
|
292
|
+
options: pluginOptions.codeBidiWarning
|
|
293
|
+
})], !expValEquals('platform_editor_remove_bidi_char_warning', 'isEnabled', true)).maybeAdd([loomPlugin, loomPluginOptions({
|
|
294
|
+
options: pluginOptions.loom
|
|
295
|
+
})], enabledOptionalPlugins.loom).add([editorViewModePlugin, editorViewModePluginOptions({
|
|
296
|
+
options: pluginOptions.editorViewMode
|
|
297
|
+
})]).add(editorViewModeEffectsPlugin).add([selectionMarkerPlugin, selectionMarkerPluginOptions({
|
|
298
|
+
options: pluginOptions.selectionMarker
|
|
299
|
+
})]).add([blockControlsPlugin, {
|
|
300
|
+
rightSideControlsEnabled: fg('confluence_remix_button_right_side_block_fg') && expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true)
|
|
301
|
+
}]).add(highlightPlugin).maybeAdd(connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([metricsPlugin, metricsPluginOptions({
|
|
302
|
+
options: pluginOptions.metrics
|
|
303
|
+
})], enabledOptionalPlugins.metrics).maybeAdd([contentFormatPlugin, contentFormatPluginOptions({
|
|
304
|
+
options: pluginOptions.contentFormat
|
|
305
|
+
})], expValEquals('confluence_compact_text_format', 'isEnabled', true)).maybeAdd([codeBlockAdvancedPlugin, codeBlockAdvancedPluginOptions({
|
|
306
|
+
options: pluginOptions.codeBlockAdvanced
|
|
307
|
+
})], enabledOptionalPlugins.codeBlockAdvanced).maybeAdd([selectionExtensionPlugin, selectionExtensionPluginOptions({
|
|
308
|
+
options: pluginOptions.selectionExtension
|
|
309
|
+
})], enabledOptionalPlugins.selectionExtension).add(userIntentPlugin).maybeAdd([showDiffPlugin, showDiffPluginOptions({
|
|
310
|
+
options: pluginOptions.showDiff
|
|
311
|
+
})], enabledOptionalPlugins.showDiff).maybeAdd([trackChangesPlugin, trackChangesPluginOptions({
|
|
312
|
+
options: pluginOptions.trackChanges
|
|
313
|
+
})], enabledOptionalPlugins.trackChanges).maybeAdd(localIdPlugin, enabledOptionalPlugins.localId);
|
|
314
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export function annotationPluginOptions(_ref) {
|
|
2
|
+
var options = _ref.options,
|
|
3
|
+
providers = _ref.providers;
|
|
4
|
+
if (!providers.inlineCommentAnnotationProvider) {
|
|
5
|
+
return undefined;
|
|
6
|
+
}
|
|
7
|
+
return {
|
|
8
|
+
inlineComment: providers.inlineCommentAnnotationProvider,
|
|
9
|
+
createCommentExperience: options.createCommentExperience,
|
|
10
|
+
selectCommentExperience: {
|
|
11
|
+
selectAnnotation: {
|
|
12
|
+
complete: function complete(annotationId) {
|
|
13
|
+
var _options$selectCommen;
|
|
14
|
+
(_options$selectCommen = options.selectCommentExperience) === null || _options$selectCommen === void 0 || _options$selectCommen.selectAnnotation.complete({
|
|
15
|
+
pageClass: 'editor',
|
|
16
|
+
annotationId: annotationId,
|
|
17
|
+
entryPoint: 'annotation-change'
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
viewInlineCommentTraceUFOPress: options.viewInlineCommentTraceUFOPress,
|
|
23
|
+
annotationManager: options.annotationManager
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export function avatarGroupPluginOptions(_ref) {
|
|
2
|
+
var options = _ref.options;
|
|
3
|
+
return {
|
|
4
|
+
// Avatars are moved to Confluence codebase for Edit in Context
|
|
5
|
+
// When Edit in Context is enabled primaryToolbarComponents is undefined
|
|
6
|
+
// For more details please check
|
|
7
|
+
// https://hello.atlassian.net/wiki/spaces/PCG/pages/2851572180/Editor+toolbar+for+live+pages+and+edit+in+context+projects
|
|
8
|
+
collabEdit: options.collabEdit,
|
|
9
|
+
// originally depends on !hasBeforePrimaryToolbar(props.primaryToolbarComponents),
|
|
10
|
+
takeFullWidth: true,
|
|
11
|
+
showAvatarGroup: false
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
export function basePluginOptions(_ref) {
|
|
3
|
+
var options = _ref.options;
|
|
4
|
+
var removeScrollGutter = !fg('confluence_frontend_content_wrapper') && options.__livePage;
|
|
5
|
+
return {
|
|
6
|
+
allowInlineCursorTarget: true,
|
|
7
|
+
allowScrollGutter: removeScrollGutter ? undefined : {
|
|
8
|
+
getScrollElement: function getScrollElement() {
|
|
9
|
+
return document.querySelector('.fabric-editor-popup-scroll-parent');
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns block menu plugin options for the editor.
|
|
3
|
+
* @param options - The props object containing options for configuring the block menu plugin.
|
|
4
|
+
* @param options.options - The options object with getLinkPath and blockLinkHashPrefix.
|
|
5
|
+
* @returns BlockMenuPluginOptions object.
|
|
6
|
+
* @example
|
|
7
|
+
* ```ts
|
|
8
|
+
* blockMenuPluginOptions({
|
|
9
|
+
* options: {
|
|
10
|
+
* getLinkPath: () => '/some/path',
|
|
11
|
+
* blockLinkHashPrefix: 'block-',
|
|
12
|
+
* }
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export function blockMenuPluginOptions(_ref) {
|
|
17
|
+
var options = _ref.options;
|
|
18
|
+
return {
|
|
19
|
+
getLinkPath: options.getLinkPath,
|
|
20
|
+
blockLinkHashPrefix: options.blockLinkHashPrefix
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import _objectDestructuringEmpty from "@babel/runtime/helpers/objectDestructuringEmpty";
|
|
2
|
+
export function blockTypePluginOptions(_ref) {
|
|
3
|
+
_objectDestructuringEmpty(_ref);
|
|
4
|
+
return {
|
|
5
|
+
// rolling out under platform_editor_small_font_size experiment
|
|
6
|
+
allowFontSize: true,
|
|
7
|
+
includeBlockQuoteAsTextstyleOption: true,
|
|
8
|
+
lastNodeMustBeParagraph: false,
|
|
9
|
+
isUndoRedoButtonsEnabled: true,
|
|
10
|
+
allowBlockType: undefined
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { isSSR } from '@atlaskit/editor-common/core-utils';
|
|
2
|
+
// SECTION: From confluence/next/packages/editor-features/src/utils/smartCardOptions.ts
|
|
3
|
+
/**
|
|
4
|
+
* Supported Jira URLs and Jira Roadmap URLs, GDrive and ODFB will become Smart Links
|
|
5
|
+
* (only supports Cloud single-issue URLs right now)
|
|
6
|
+
*/
|
|
7
|
+
var SMART_LINKS_BEFORE_MACROS = 'jira,jiraroadmap,google-drive-sheets,google-drive-docs,OneDrive,google-drive-slides'.split(',');
|
|
8
|
+
// END SECTION
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @param root0
|
|
13
|
+
* @param root0.options
|
|
14
|
+
* @param root0.providers
|
|
15
|
+
* @example
|
|
16
|
+
*/
|
|
17
|
+
export function cardPluginOptions(_ref) {
|
|
18
|
+
var options = _ref.options,
|
|
19
|
+
providers = _ref.providers;
|
|
20
|
+
return {
|
|
21
|
+
// From confluence/next/packages/full-page-editor/src/FullPageEditorComponent.tsx `CARD_OPTIONS =`
|
|
22
|
+
allowDatasource: true,
|
|
23
|
+
// END SECTION
|
|
24
|
+
// SECTION: From confluence/next/packages/editor-features/src/utils/smartCardOptions.ts
|
|
25
|
+
provider: providers.cardProvider,
|
|
26
|
+
resolveBeforeMacros: SMART_LINKS_BEFORE_MACROS,
|
|
27
|
+
allowBlockCards: true,
|
|
28
|
+
allowEmbeds: true,
|
|
29
|
+
// END SECTION
|
|
30
|
+
onClickCallback: options.onClickCallback,
|
|
31
|
+
fullWidthMode: options.editorAppearance === 'full-width',
|
|
32
|
+
linkPicker: options.linkPicker,
|
|
33
|
+
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
34
|
+
lpLinkPicker: true,
|
|
35
|
+
// END SECTION
|
|
36
|
+
editorAppearance: options.editorAppearance,
|
|
37
|
+
// @ts-ignore Temporary solution to check for Live Page editor.
|
|
38
|
+
__livePage: options.__livePage,
|
|
39
|
+
isPageSSRed: Boolean(isSSR() || window.__SSR_RENDERED__),
|
|
40
|
+
CompetitorPrompt: options.CompetitorPrompt
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import _objectDestructuringEmpty from "@babel/runtime/helpers/objectDestructuringEmpty";
|
|
2
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
|
+
export function codeBlockAdvancedPluginOptions(_ref) {
|
|
4
|
+
_objectDestructuringEmpty(_ref);
|
|
5
|
+
return {
|
|
6
|
+
allowCodeFolding: expValEquals('platform_editor_code_block_fold_gutter', 'isEnabled', true)
|
|
7
|
+
};
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import _objectDestructuringEmpty from "@babel/runtime/helpers/objectDestructuringEmpty";
|
|
2
|
+
export function codeBlockPluginOptions(_ref) {
|
|
3
|
+
_objectDestructuringEmpty(_ref);
|
|
4
|
+
return {
|
|
5
|
+
allowCopyToClipboard: true,
|
|
6
|
+
useLongPressSelection: false,
|
|
7
|
+
allowCompositionInputOverride: false
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { shouldForceTracking } from '@atlaskit/editor-common/utils';
|
|
2
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
|
+
export function collabEditPluginOptions(_ref) {
|
|
4
|
+
var _options$collabEdit, _options$collabEdit2, _options$collabEdit3, _options$collabEdit4, _options$collabEdit5, _options$collabEdit$E, _options$collabEdit6;
|
|
5
|
+
var options = _ref.options,
|
|
6
|
+
providers = _ref.providers;
|
|
7
|
+
return {
|
|
8
|
+
// Core options
|
|
9
|
+
provider: providers.collabEditProvider,
|
|
10
|
+
userId: (_options$collabEdit = options.collabEdit) === null || _options$collabEdit === void 0 ? void 0 : _options$collabEdit.userId,
|
|
11
|
+
useNativePlugin: (_options$collabEdit2 = options.collabEdit) === null || _options$collabEdit2 === void 0 ? void 0 : _options$collabEdit2.useNativePlugin,
|
|
12
|
+
sanitizePrivateContent: true,
|
|
13
|
+
hideTelecursorOnLoad: options.__livePage || expValEquals('platform_editor_no_cursor_on_edit_page_init', 'isEnabled', true),
|
|
14
|
+
// Invite to edit related options
|
|
15
|
+
inviteToEditHandler: (_options$collabEdit3 = options.collabEdit) === null || _options$collabEdit3 === void 0 ? void 0 : _options$collabEdit3.inviteToEditHandler,
|
|
16
|
+
isInviteToEditButtonSelected: (_options$collabEdit4 = options.collabEdit) === null || _options$collabEdit4 === void 0 ? void 0 : _options$collabEdit4.isInviteToEditButtonSelected,
|
|
17
|
+
inviteToEditComponent: (_options$collabEdit5 = options.collabEdit) === null || _options$collabEdit5 === void 0 ? void 0 : _options$collabEdit5.inviteToEditComponent,
|
|
18
|
+
// Analytics options
|
|
19
|
+
EXPERIMENTAL_allowInternalErrorAnalytics: (_options$collabEdit$E = (_options$collabEdit6 = options.collabEdit) === null || _options$collabEdit6 === void 0 ? void 0 : _options$collabEdit6.EXPERIMENTAL_allowInternalErrorAnalytics) !== null && _options$collabEdit$E !== void 0 ? _options$collabEdit$E : shouldForceTracking()
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export function contentFormatPluginOptions(_ref) {
|
|
2
|
+
var _options$initialConte;
|
|
3
|
+
var options = _ref.options;
|
|
4
|
+
return {
|
|
5
|
+
initialContentMode: (_options$initialConte = options === null || options === void 0 ? void 0 : options.initialContentMode) !== null && _options$initialConte !== void 0 ? _options$initialConte : 'standard'
|
|
6
|
+
};
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
export function contextPanelPluginOptions(_ref) {
|
|
3
|
+
var options = _ref.options;
|
|
4
|
+
if (!options) {
|
|
5
|
+
return undefined;
|
|
6
|
+
}
|
|
7
|
+
return (
|
|
8
|
+
// SECTION: From confluence/next/packages/editor-presets/src/full-page/useFullPageEditorPreset.ts
|
|
9
|
+
// If object-sidebar is not enabled, then we don't need to pass the contextPanelOptions
|
|
10
|
+
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
11
|
+
fg('confluence_frontend_content_wrapper') && fg('platform_editor_ai_object_sidebar_injection') ? {
|
|
12
|
+
objectSideBar: options.objectSideBar
|
|
13
|
+
} : undefined
|
|
14
|
+
// END SECTION
|
|
15
|
+
);
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export function extensionPluginOptions(_ref) {
|
|
2
|
+
var options = _ref.options;
|
|
3
|
+
return {
|
|
4
|
+
breakoutEnabled: options.editorAppearance === 'full-page',
|
|
5
|
+
extensionHandlers: options.extensionHandlers,
|
|
6
|
+
useLongPressSelection: false,
|
|
7
|
+
appearance: options.editorAppearance,
|
|
8
|
+
__rendererExtensionOptions: options.__rendererExtensionOptions,
|
|
9
|
+
getExtensionHeight: options.getExtensionHeight,
|
|
10
|
+
getUnsupportedContent: options.getUnsupportedContent
|
|
11
|
+
};
|
|
12
|
+
}
|