@atlaskit/editor-core 190.1.8 → 190.1.9

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 190.1.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [#62301](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62301) [`080bf1137dda`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/080bf1137dda) - Extract data consumer plugin from editor-core to new package @atlaskit/editor-plugin-data-consumer
8
+ - [#61923](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61923) [`04e38cfe9e90`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/04e38cfe9e90) - Remove legacy theming logic from all Editor plugin packages. Theming is still available via the @atlaskit/tokens package.
9
+ - Updated dependencies
10
+
3
11
  ## 190.1.8
4
12
 
5
13
  ### Patch Changes
@@ -106,6 +106,9 @@
106
106
  {
107
107
  "path": "../../editor-plugin-copy-button/afm-cc/tsconfig.json"
108
108
  },
109
+ {
110
+ "path": "../../editor-plugin-data-consumer/afm-cc/tsconfig.json"
111
+ },
109
112
  {
110
113
  "path": "../../editor-plugin-date/afm-cc/tsconfig.json"
111
114
  },
@@ -40,12 +40,6 @@ Object.defineProperty(exports, "customAutoformatPlugin", {
40
40
  return _customAutoformat.default;
41
41
  }
42
42
  });
43
- Object.defineProperty(exports, "dataConsumerMarkPlugin", {
44
- enumerable: true,
45
- get: function get() {
46
- return _dataConsumer.default;
47
- }
48
- });
49
43
  Object.defineProperty(exports, "extensionPlugin", {
50
44
  enumerable: true,
51
45
  get: function get() {
@@ -87,7 +81,6 @@ var _extension = _interopRequireDefault(require("./extension"));
87
81
  var _jiraIssue = _interopRequireDefault(require("./jira-issue"));
88
82
  var _paste = _interopRequireDefault(require("./paste"));
89
83
  var _breakout = _interopRequireDefault(require("./breakout"));
90
- var _dataConsumer = _interopRequireDefault(require("./data-consumer"));
91
84
  var _annotation = _interopRequireDefault(require("./annotation"));
92
85
  var _customAutoformat = _interopRequireDefault(require("./custom-autoformat"));
93
86
  var _feedbackDialog = _interopRequireDefault(require("./feedback-dialog"));
@@ -43,6 +43,7 @@ var _editorPluginTasksAndDecisions = require("@atlaskit/editor-plugin-tasks-and-
43
43
  var _editorPluginTextColor = require("@atlaskit/editor-plugin-text-color");
44
44
  var _editorPluginToolbarListsIndentation = require("@atlaskit/editor-plugin-toolbar-lists-indentation");
45
45
  var _editorPluginAlignment = require("@atlaskit/editor-plugin-alignment");
46
+ var _editorPluginDataConsumer = require("@atlaskit/editor-plugin-data-consumer");
46
47
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
47
48
  var _plugins = require("../plugins");
48
49
  var _utils = require("@atlaskit/editor-common/utils");
@@ -79,7 +80,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
79
80
  }
80
81
  return false;
81
82
  };
82
- var finalPreset = defaultPreset.add(_plugins.dataConsumerMarkPlugin).add(_editorPluginContentInsertion.contentInsertionPlugin).maybeAdd(_plugins.breakoutPlugin, function (plugin, builder) {
83
+ var finalPreset = defaultPreset.add(_editorPluginDataConsumer.dataConsumerPlugin).add(_editorPluginContentInsertion.contentInsertionPlugin).maybeAdd(_plugins.breakoutPlugin, function (plugin, builder) {
83
84
  if (props.allowBreakout && isFullPage) {
84
85
  return builder.add([plugin, {
85
86
  allowBreakoutButton: appearance === 'full-page'
@@ -47,7 +47,7 @@ var placeholderStyles = exports.placeholderStyles = (0, _react2.css)(_templateOb
47
47
  var contentStyles = function contentStyles(props) {
48
48
  return (0, _react2.css)(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n .ProseMirror {\n outline: none;\n font-size: ", "px;\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n }\n\n .ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n pointer-events: none;\n opacity: 0.7;\n }\n\n .ProseMirror-hideselection *::selection {\n background: transparent;\n }\n\n .ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n }\n\n .ProseMirror-selectednode {\n outline: none;\n }\n\n .ProseMirror-selectednode:empty {\n outline: 2px solid ", ";\n }\n\n ", "\n ", "\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n box-sizing: border-box;\n }\n\n .mediaGroupView-content-wrap ul {\n padding: 0;\n }\n\n /** Needed to override any cleared floats, e.g. image wrapping */\n\n div.fabric-editor-block-mark[class^='fabric-editor-align'] {\n clear: none !important;\n }\n\n .fabric-editor-align-end {\n text-align: right;\n }\n\n .fabric-editor-align-start {\n text-align: left;\n }\n\n .fabric-editor-align-center {\n text-align: center;\n }\n\n .pm-table-header-content-wrap :not(.fabric-editor-alignment),\n .pm-table-header-content-wrap\n :not(p, .fabric-editor-block-mark)\n + div.fabric-editor-block-mark,\n .pm-table-cell-content-wrap\n :not(p, .fabric-editor-block-mark)\n + div.fabric-editor-block-mark {\n p:first-of-type {\n margin-top: 0;\n }\n }\n\n .hyperlink-floating-toolbar,\n .", " {\n padding: 0;\n }\n\n /* Link icon in the Atlaskit package\n is bigger than the others\n */\n .hyperlink-open-link {\n svg {\n max-width: 18px;\n }\n &[href] {\n padding: 0 4px;\n }\n }\n"])), (0, _editorSharedStyles.editorFontSize)({
49
49
  theme: props.theme
50
- }), _styles.whitespaceSharedStyles, _styles.paragraphSharedStyles, _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", _styles5.placeholderTextStyles, placeholderStyles, (0, _codeBlock.codeBlockStyles)(props), (0, _styles3.blocktypeStyles)(props), (0, _styles.codeMarkSharedStyles)(props), _styles.textColorStyles, listsStyles, ruleStyles(props), _media.mediaStyles, (0, _layout.layoutStyles)(props), _styles2.telepointerStyle, _selection.gapCursorStyles, (0, _commonStyles.tableStyles)(props), (0, _panel.panelStyles)(props), mentionsStyles, emojiStyles, _styles.tasksAndDecisionsStyles, _styles.gridStyles, linkStyles, _styles.blockMarksSharedStyles, _styles.dateSharedStyle, _extension.extensionStyles, (0, _expand.expandStyles)(props), _styles6.findReplaceStyles, _styles4.textHighlightStyle, _tasksAndDecisions.taskDecisionStyles, _status.statusStyles, (0, _styles.annotationSharedStyles)(props), _styles.smartCardStyles, _styles.smartCardSharedStyles, _date.dateStyles, _styles.embedCardStyles, _styles.unsupportedStyles, _styles.resizerStyles, _styles.MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
50
+ }), _styles.whitespaceSharedStyles, _styles.paragraphSharedStyles, _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", _styles5.placeholderTextStyles, placeholderStyles, (0, _codeBlock.codeBlockStyles)(props), (0, _styles3.blocktypeStyles)(), (0, _styles.codeMarkSharedStyles)(props), _styles.textColorStyles, listsStyles, ruleStyles(props), _media.mediaStyles, (0, _layout.layoutStyles)(props), _styles2.telepointerStyle, _selection.gapCursorStyles, (0, _commonStyles.tableStyles)(props), (0, _panel.panelStyles)(props), mentionsStyles, emojiStyles, _styles.tasksAndDecisionsStyles, _styles.gridStyles, linkStyles, _styles.blockMarksSharedStyles, _styles.dateSharedStyle, _extension.extensionStyles, (0, _expand.expandStyles)(props), _styles6.findReplaceStyles, _styles4.textHighlightStyle, _tasksAndDecisions.taskDecisionStyles, _status.statusStyles, (0, _styles.annotationSharedStyles)(props), _styles.smartCardStyles, _styles.smartCardSharedStyles, _date.dateStyles, _styles.embedCardStyles, _styles.unsupportedStyles, _styles.resizerStyles, _styles.MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
51
51
  };
52
52
  var createEditorContentStyle = exports.createEditorContentStyle = function createEditorContentStyle(styles) {
53
53
  return /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "190.1.8";
8
+ var version = exports.version = "190.1.9";
@@ -3,7 +3,6 @@ export { default as extensionPlugin } from './extension';
3
3
  export { default as jiraIssuePlugin } from './jira-issue';
4
4
  export { default as pastePlugin } from './paste';
5
5
  export { default as breakoutPlugin } from './breakout';
6
- export { default as dataConsumerMarkPlugin } from './data-consumer';
7
6
  export { default as annotationPlugin } from './annotation';
8
7
  export { default as customAutoformatPlugin } from './custom-autoformat';
9
8
  export { default as feedbackDialogPlugin } from './feedback-dialog';
@@ -33,8 +33,9 @@ import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugin-tasks-and-decis
33
33
  import { textColorPlugin } from '@atlaskit/editor-plugin-text-color';
34
34
  import { toolbarListsIndentationPlugin } from '@atlaskit/editor-plugin-toolbar-lists-indentation';
35
35
  import { alignmentPlugin } from '@atlaskit/editor-plugin-alignment';
36
+ import { dataConsumerPlugin } from '@atlaskit/editor-plugin-data-consumer';
36
37
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
37
- import { annotationPlugin, avatarGroupPlugin, beforePrimaryToolbarPlugin, breakoutPlugin, collabEditPlugin, customAutoformatPlugin, dataConsumerMarkPlugin, extensionPlugin, feedbackDialogPlugin, findReplacePlugin, jiraIssuePlugin } from '../plugins';
38
+ import { annotationPlugin, avatarGroupPlugin, beforePrimaryToolbarPlugin, breakoutPlugin, collabEditPlugin, customAutoformatPlugin, extensionPlugin, feedbackDialogPlugin, findReplacePlugin, jiraIssuePlugin } from '../plugins';
38
39
  import { shouldForceTracking } from '@atlaskit/editor-common/utils';
39
40
  import { isFullPage as fullPageCheck } from '../utils/is-full-page';
40
41
  import { createDefaultPreset } from './default';
@@ -66,7 +67,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
66
67
  }
67
68
  return false;
68
69
  };
69
- const finalPreset = defaultPreset.add(dataConsumerMarkPlugin).add(contentInsertionPlugin).maybeAdd(breakoutPlugin, (plugin, builder) => {
70
+ const finalPreset = defaultPreset.add(dataConsumerPlugin).add(contentInsertionPlugin).maybeAdd(breakoutPlugin, (plugin, builder) => {
70
71
  if (props.allowBreakout && isFullPage) {
71
72
  return builder.add([plugin, {
72
73
  allowBreakoutButton: appearance === 'full-page'
@@ -173,7 +173,7 @@ const contentStyles = props => css`
173
173
  ${placeholderStyles}
174
174
  ${codeBlockStyles(props)}
175
175
 
176
- ${blocktypeStyles(props)}
176
+ ${blocktypeStyles()}
177
177
  ${codeMarkSharedStyles(props)}
178
178
  ${textColorStyles}
179
179
  ${listsStyles}
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "190.1.8";
2
+ export const version = "190.1.9";
@@ -3,7 +3,6 @@ export { default as extensionPlugin } from './extension';
3
3
  export { default as jiraIssuePlugin } from './jira-issue';
4
4
  export { default as pastePlugin } from './paste';
5
5
  export { default as breakoutPlugin } from './breakout';
6
- export { default as dataConsumerMarkPlugin } from './data-consumer';
7
6
  export { default as annotationPlugin } from './annotation';
8
7
  export { default as customAutoformatPlugin } from './custom-autoformat';
9
8
  export { default as feedbackDialogPlugin } from './feedback-dialog';
@@ -37,8 +37,9 @@ import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugin-tasks-and-decis
37
37
  import { textColorPlugin } from '@atlaskit/editor-plugin-text-color';
38
38
  import { toolbarListsIndentationPlugin } from '@atlaskit/editor-plugin-toolbar-lists-indentation';
39
39
  import { alignmentPlugin } from '@atlaskit/editor-plugin-alignment';
40
+ import { dataConsumerPlugin } from '@atlaskit/editor-plugin-data-consumer';
40
41
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
41
- import { annotationPlugin, avatarGroupPlugin, beforePrimaryToolbarPlugin, breakoutPlugin, collabEditPlugin, customAutoformatPlugin, dataConsumerMarkPlugin, extensionPlugin, feedbackDialogPlugin, findReplacePlugin, jiraIssuePlugin } from '../plugins';
42
+ import { annotationPlugin, avatarGroupPlugin, beforePrimaryToolbarPlugin, breakoutPlugin, collabEditPlugin, customAutoformatPlugin, extensionPlugin, feedbackDialogPlugin, findReplacePlugin, jiraIssuePlugin } from '../plugins';
42
43
  import { shouldForceTracking } from '@atlaskit/editor-common/utils';
43
44
  import { isFullPage as fullPageCheck } from '../utils/is-full-page';
44
45
  import { createDefaultPreset } from './default';
@@ -71,7 +72,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
71
72
  }
72
73
  return false;
73
74
  };
74
- var finalPreset = defaultPreset.add(dataConsumerMarkPlugin).add(contentInsertionPlugin).maybeAdd(breakoutPlugin, function (plugin, builder) {
75
+ var finalPreset = defaultPreset.add(dataConsumerPlugin).add(contentInsertionPlugin).maybeAdd(breakoutPlugin, function (plugin, builder) {
75
76
  if (props.allowBreakout && isFullPage) {
76
77
  return builder.add([plugin, {
77
78
  allowBreakoutButton: appearance === 'full-page'
@@ -39,7 +39,7 @@ export var placeholderStyles = css(_templateObject6 || (_templateObject6 = _tagg
39
39
  var contentStyles = function contentStyles(props) {
40
40
  return css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n .ProseMirror {\n outline: none;\n font-size: ", "px;\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n }\n\n .ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n pointer-events: none;\n opacity: 0.7;\n }\n\n .ProseMirror-hideselection *::selection {\n background: transparent;\n }\n\n .ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n }\n\n .ProseMirror-selectednode {\n outline: none;\n }\n\n .ProseMirror-selectednode:empty {\n outline: 2px solid ", ";\n }\n\n ", "\n ", "\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n box-sizing: border-box;\n }\n\n .mediaGroupView-content-wrap ul {\n padding: 0;\n }\n\n /** Needed to override any cleared floats, e.g. image wrapping */\n\n div.fabric-editor-block-mark[class^='fabric-editor-align'] {\n clear: none !important;\n }\n\n .fabric-editor-align-end {\n text-align: right;\n }\n\n .fabric-editor-align-start {\n text-align: left;\n }\n\n .fabric-editor-align-center {\n text-align: center;\n }\n\n .pm-table-header-content-wrap :not(.fabric-editor-alignment),\n .pm-table-header-content-wrap\n :not(p, .fabric-editor-block-mark)\n + div.fabric-editor-block-mark,\n .pm-table-cell-content-wrap\n :not(p, .fabric-editor-block-mark)\n + div.fabric-editor-block-mark {\n p:first-of-type {\n margin-top: 0;\n }\n }\n\n .hyperlink-floating-toolbar,\n .", " {\n padding: 0;\n }\n\n /* Link icon in the Atlaskit package\n is bigger than the others\n */\n .hyperlink-open-link {\n svg {\n max-width: 18px;\n }\n &[href] {\n padding: 0 4px;\n }\n }\n"])), editorFontSize({
41
41
  theme: props.theme
42
- }), whitespaceSharedStyles, paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", placeholderTextStyles, placeholderStyles, codeBlockStyles(props), blocktypeStyles(props), codeMarkSharedStyles(props), textColorStyles, listsStyles, ruleStyles(props), mediaStyles, layoutStyles(props), telepointerStyle, gapCursorStyles, tableStyles(props), panelStyles(props), mentionsStyles, emojiStyles, tasksAndDecisionsStyles, gridStyles, linkStyles, blockMarksSharedStyles, dateSharedStyle, extensionStyles, expandStyles(props), findReplaceStyles, textHighlightStyle, taskDecisionStyles, statusStyles, annotationSharedStyles(props), smartCardStyles, smartCardSharedStyles, dateStyles, embedCardStyles, unsupportedStyles, resizerStyles, MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
42
+ }), whitespaceSharedStyles, paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", placeholderTextStyles, placeholderStyles, codeBlockStyles(props), blocktypeStyles(), codeMarkSharedStyles(props), textColorStyles, listsStyles, ruleStyles(props), mediaStyles, layoutStyles(props), telepointerStyle, gapCursorStyles, tableStyles(props), panelStyles(props), mentionsStyles, emojiStyles, tasksAndDecisionsStyles, gridStyles, linkStyles, blockMarksSharedStyles, dateSharedStyle, extensionStyles, expandStyles(props), findReplaceStyles, textHighlightStyle, taskDecisionStyles, statusStyles, annotationSharedStyles(props), smartCardStyles, smartCardSharedStyles, dateStyles, embedCardStyles, unsupportedStyles, resizerStyles, MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
43
43
  };
44
44
  export var createEditorContentStyle = function createEditorContentStyle(styles) {
45
45
  return /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "190.1.8";
2
+ export var version = "190.1.9";
@@ -3,7 +3,6 @@ export { default as extensionPlugin } from './extension';
3
3
  export { default as jiraIssuePlugin } from './jira-issue';
4
4
  export { default as pastePlugin } from './paste';
5
5
  export { default as breakoutPlugin } from './breakout';
6
- export { default as dataConsumerMarkPlugin } from './data-consumer';
7
6
  export { default as annotationPlugin } from './annotation';
8
7
  export { default as customAutoformatPlugin } from './custom-autoformat';
9
8
  export { default as feedbackDialogPlugin } from './feedback-dialog';
@@ -3,7 +3,6 @@ export { default as extensionPlugin } from './extension';
3
3
  export { default as jiraIssuePlugin } from './jira-issue';
4
4
  export { default as pastePlugin } from './paste';
5
5
  export { default as breakoutPlugin } from './breakout';
6
- export { default as dataConsumerMarkPlugin } from './data-consumer';
7
6
  export { default as annotationPlugin } from './annotation';
8
7
  export { default as customAutoformatPlugin } from './custom-autoformat';
9
8
  export { default as feedbackDialogPlugin } from './feedback-dialog';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "190.1.8",
3
+ "version": "190.1.9",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -70,6 +70,7 @@
70
70
  "@atlaskit/editor-plugin-content-insertion": "^0.1.4",
71
71
  "@atlaskit/editor-plugin-context-panel": "^0.2.0",
72
72
  "@atlaskit/editor-plugin-copy-button": "^1.0.0",
73
+ "@atlaskit/editor-plugin-data-consumer": "^0.1.0",
73
74
  "@atlaskit/editor-plugin-date": "^0.2.0",
74
75
  "@atlaskit/editor-plugin-decorations": "^0.2.0",
75
76
  "@atlaskit/editor-plugin-editor-disabled": "^0.2.0",
@@ -142,7 +143,7 @@
142
143
  "@atlaskit/theme": "^12.6.0",
143
144
  "@atlaskit/toggle": "^13.0.0",
144
145
  "@atlaskit/tokens": "^1.30.0",
145
- "@atlaskit/tooltip": "^18.0.0",
146
+ "@atlaskit/tooltip": "^18.1.0",
146
147
  "@atlaskit/ufo": "^0.2.0",
147
148
  "@atlaskit/width-detector": "^4.1.0",
148
149
  "@babel/runtime": "^7.0.0",
package/tsconfig.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "./example-helpers/**/*.ts",
11
11
  "./example-helpers/**/*.tsx",
12
12
  "./playwright/**/*.ts"
13
- ],
13
+ , "../editor-plugin-data-consumer/src/index.tsx" ],
14
14
  "compilerOptions": {
15
15
  "baseUrl": "./"
16
16
  }
@@ -1,19 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _adfSchema = require("@atlaskit/adf-schema");
8
- var dataConsumerMarkPlugin = function dataConsumerMarkPlugin() {
9
- return {
10
- name: 'dataConsumerPlugin',
11
- marks: function marks() {
12
- return [{
13
- name: 'dataConsumer',
14
- mark: _adfSchema.dataConsumer
15
- }];
16
- }
17
- };
18
- };
19
- var _default = exports.default = dataConsumerMarkPlugin;
@@ -1,11 +0,0 @@
1
- import { dataConsumer } from '@atlaskit/adf-schema';
2
- const dataConsumerMarkPlugin = () => ({
3
- name: 'dataConsumerPlugin',
4
- marks() {
5
- return [{
6
- name: 'dataConsumer',
7
- mark: dataConsumer
8
- }];
9
- }
10
- });
11
- export default dataConsumerMarkPlugin;
@@ -1,13 +0,0 @@
1
- import { dataConsumer } from '@atlaskit/adf-schema';
2
- var dataConsumerMarkPlugin = function dataConsumerMarkPlugin() {
3
- return {
4
- name: 'dataConsumerPlugin',
5
- marks: function marks() {
6
- return [{
7
- name: 'dataConsumer',
8
- mark: dataConsumer
9
- }];
10
- }
11
- };
12
- };
13
- export default dataConsumerMarkPlugin;
@@ -1,3 +0,0 @@
1
- import { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
- declare const dataConsumerMarkPlugin: NextEditorPlugin<'dataConsumerPlugin'>;
3
- export default dataConsumerMarkPlugin;
@@ -1,3 +0,0 @@
1
- import { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
- declare const dataConsumerMarkPlugin: NextEditorPlugin<'dataConsumerPlugin'>;
3
- export default dataConsumerMarkPlugin;