@mdxeditor/editor 2.20.6 → 3.0.0-alpha.2

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.
@@ -1,107 +1,107 @@
1
- const editorRoot = "_editorRoot_13kqw_38";
2
- const editorWrapper = "_editorWrapper_13kqw_139";
3
- const nestedListItem = "_nestedListItem_13kqw_141";
4
- const toolbarRoot = "_toolbarRoot_13kqw_145";
5
- const readOnlyToolbarRoot = "_readOnlyToolbarRoot_13kqw_168";
6
- const toolbarModeSwitch = "_toolbarModeSwitch_13kqw_177";
7
- const toolbarToggleItem = "_toolbarToggleItem_13kqw_187";
8
- const toolbarGroupOfGroups = "_toolbarGroupOfGroups_13kqw_198";
9
- const toolbarToggleSingleGroup = "_toolbarToggleSingleGroup_13kqw_203";
10
- const toolbarButton = "_toolbarButton_13kqw_218";
11
- const activeToolbarButton = "_activeToolbarButton_13kqw_250";
12
- const toolbarNodeKindSelectContainer = "_toolbarNodeKindSelectContainer_13kqw_258";
13
- const toolbarButtonDropdownContainer = "_toolbarButtonDropdownContainer_13kqw_259";
14
- const toolbarCodeBlockLanguageSelectContent = "_toolbarCodeBlockLanguageSelectContent_13kqw_260";
15
- const selectContainer = "_selectContainer_13kqw_261";
16
- const selectItem = "_selectItem_13kqw_274";
17
- const toolbarNodeKindSelectTrigger = "_toolbarNodeKindSelectTrigger_13kqw_279";
18
- const toolbarButtonSelectTrigger = "_toolbarButtonSelectTrigger_13kqw_280";
19
- const selectTrigger = "_selectTrigger_13kqw_281";
20
- const toolbarCodeBlockLanguageSelectTrigger = "_toolbarCodeBlockLanguageSelectTrigger_13kqw_315";
21
- const toolbarNodeKindSelectItem = "_toolbarNodeKindSelectItem_13kqw_320";
22
- const toolbarNodeKindSelectDropdownArrow = "_toolbarNodeKindSelectDropdownArrow_13kqw_345";
23
- const selectDropdownArrow = "_selectDropdownArrow_13kqw_346";
24
- const contentEditable = "_contentEditable_13kqw_352";
25
- const sandpackWrapper = "_sandpackWrapper_13kqw_364";
26
- const frontmatterWrapper = "_frontmatterWrapper_13kqw_368";
27
- const frontmatterToggleButton = "_frontmatterToggleButton_13kqw_378";
28
- const propertyPanelTitle = "_propertyPanelTitle_13kqw_386";
29
- const propertyEditorTable = "_propertyEditorTable_13kqw_394";
30
- const iconButton = "_iconButton_13kqw_412";
31
- const readOnlyColumnCell = "_readOnlyColumnCell_13kqw_417";
32
- const propertyEditorLabelCell = "_propertyEditorLabelCell_13kqw_422";
33
- const buttonsFooter = "_buttonsFooter_13kqw_430";
34
- const propertyEditorInput = "_propertyEditorInput_13kqw_436";
35
- const primaryButton = "_primaryButton_13kqw_460";
36
- const secondaryButton = "_secondaryButton_13kqw_461";
37
- const smallButton = "_smallButton_13kqw_476";
38
- const dialogForm = "_dialogForm_13kqw_488";
39
- const linkDialogEditForm = "_linkDialogEditForm_13kqw_494";
40
- const linkDialogInputContainer = "_linkDialogInputContainer_13kqw_502";
41
- const linkDialogInputWrapper = "_linkDialogInputWrapper_13kqw_508";
42
- const linkDialogInput = "_linkDialogInput_13kqw_502";
43
- const dialogInput = "_dialogInput_13kqw_529";
44
- const linkDialogAnchor = "_linkDialogAnchor_13kqw_540";
45
- const linkDialogPopoverContent = "_linkDialogPopoverContent_13kqw_554";
46
- const tableColumnEditorPopoverContent = "_tableColumnEditorPopoverContent_13kqw_555";
47
- const dialogContent = "_dialogContent_13kqw_556";
48
- const largeDialogContent = "_largeDialogContent_13kqw_568";
49
- const dialogTitle = "_dialogTitle_13kqw_578";
50
- const dialogCloseButton = "_dialogCloseButton_13kqw_584";
51
- const popoverContent = "_popoverContent_13kqw_591";
52
- const popoverArrow = "_popoverArrow_13kqw_603";
53
- const linkDialogPreviewAnchor = "_linkDialogPreviewAnchor_13kqw_607";
54
- const tooltipTrigger = "_tooltipTrigger_13kqw_630";
55
- const tooltipContent = "_tooltipContent_13kqw_634";
56
- const actionButton = "_actionButton_13kqw_648";
57
- const primaryActionButton = "_primaryActionButton_13kqw_654";
58
- const tableEditor = "_tableEditor_13kqw_664";
59
- const toolCell = "_toolCell_13kqw_675";
60
- const tableColumnEditorTrigger = "_tableColumnEditorTrigger_13kqw_694";
61
- const tableRowEditorTrigger = "_tableRowEditorTrigger_13kqw_695";
62
- const addRowButton = "_addRowButton_13kqw_696";
63
- const addColumnButton = "_addColumnButton_13kqw_697";
64
- const tableColumnEditorToolbar = "_tableColumnEditorToolbar_13kqw_738";
65
- const toggleGroupRoot = "_toggleGroupRoot_13kqw_752";
66
- const tableToolsColumn = "_tableToolsColumn_13kqw_770";
67
- const leftAlignedCell = "_leftAlignedCell_13kqw_779";
68
- const rightAlignedCell = "_rightAlignedCell_13kqw_783";
69
- const centeredCell = "_centeredCell_13kqw_787";
70
- const dialogOverlay = "_dialogOverlay_13kqw_820";
71
- const overlayShow = "_overlayShow_13kqw_1";
72
- const contentShow = "_contentShow_13kqw_1";
73
- const focusedImage = "_focusedImage_13kqw_867";
74
- const imageWrapper = "_imageWrapper_13kqw_871";
75
- const editImageButton = "_editImageButton_13kqw_884";
76
- const inlineEditor = "_inlineEditor_13kqw_896";
77
- const blockEditor = "_blockEditor_13kqw_905";
78
- const nestedEditor = "_nestedEditor_13kqw_914";
79
- const genericComponentName = "_genericComponentName_13kqw_933";
80
- const diffSourceToggle = "_diffSourceToggle_13kqw_939";
81
- const selectWithLabel = "_selectWithLabel_13kqw_953";
82
- const toolbarTitleMode = "_toolbarTitleMode_13kqw_968";
83
- const imageControlWrapperResizing = "_imageControlWrapperResizing_13kqw_974";
84
- const imageResizer = "_imageResizer_13kqw_978";
85
- const imageResizerN = "_imageResizerN_13kqw_987";
86
- const imageResizerNe = "_imageResizerNe_13kqw_993";
87
- const imageResizerE = "_imageResizerE_13kqw_999";
88
- const imageResizerSe = "_imageResizerSe_13kqw_1005";
89
- const imageResizerS = "_imageResizerS_13kqw_1005";
90
- const imageResizerSw = "_imageResizerSw_13kqw_1017";
91
- const imageResizerW = "_imageResizerW_13kqw_1023";
92
- const imageResizerNw = "_imageResizerNw_13kqw_1029";
93
- const placeholder = "_placeholder_13kqw_1035";
94
- const rootContentEditableWrapper = "_rootContentEditableWrapper_13kqw_1048";
95
- const downshiftContainer = "_downshiftContainer_13kqw_1054";
96
- const downshiftInputWrapper = "_downshiftInputWrapper_13kqw_1060";
97
- const downshiftInput = "_downshiftInput_13kqw_1060";
98
- const downshiftAutocompleteContainer = "_downshiftAutocompleteContainer_13kqw_1091";
99
- const textInput = "_textInput_13kqw_1137";
100
- const multiFieldForm = "_multiFieldForm_13kqw_1145";
101
- const formField = "_formField_13kqw_1151";
102
- const markdownParseError = "_markdownParseError_13kqw_1162";
103
- const popupContainer = "_popupContainer_13kqw_1171";
104
- const inputSizer = "_inputSizer_13kqw_1176";
1
+ const editorRoot = "_editorRoot_r5eta_38";
2
+ const editorWrapper = "_editorWrapper_r5eta_139";
3
+ const nestedListItem = "_nestedListItem_r5eta_141";
4
+ const toolbarRoot = "_toolbarRoot_r5eta_145";
5
+ const readOnlyToolbarRoot = "_readOnlyToolbarRoot_r5eta_168";
6
+ const toolbarModeSwitch = "_toolbarModeSwitch_r5eta_177";
7
+ const toolbarToggleItem = "_toolbarToggleItem_r5eta_187";
8
+ const toolbarGroupOfGroups = "_toolbarGroupOfGroups_r5eta_198";
9
+ const toolbarToggleSingleGroup = "_toolbarToggleSingleGroup_r5eta_203";
10
+ const toolbarButton = "_toolbarButton_r5eta_218";
11
+ const activeToolbarButton = "_activeToolbarButton_r5eta_250";
12
+ const toolbarNodeKindSelectContainer = "_toolbarNodeKindSelectContainer_r5eta_258";
13
+ const toolbarButtonDropdownContainer = "_toolbarButtonDropdownContainer_r5eta_259";
14
+ const toolbarCodeBlockLanguageSelectContent = "_toolbarCodeBlockLanguageSelectContent_r5eta_260";
15
+ const selectContainer = "_selectContainer_r5eta_261";
16
+ const selectItem = "_selectItem_r5eta_274";
17
+ const toolbarNodeKindSelectTrigger = "_toolbarNodeKindSelectTrigger_r5eta_279";
18
+ const toolbarButtonSelectTrigger = "_toolbarButtonSelectTrigger_r5eta_280";
19
+ const selectTrigger = "_selectTrigger_r5eta_281";
20
+ const toolbarCodeBlockLanguageSelectTrigger = "_toolbarCodeBlockLanguageSelectTrigger_r5eta_315";
21
+ const toolbarNodeKindSelectItem = "_toolbarNodeKindSelectItem_r5eta_320";
22
+ const toolbarNodeKindSelectDropdownArrow = "_toolbarNodeKindSelectDropdownArrow_r5eta_345";
23
+ const selectDropdownArrow = "_selectDropdownArrow_r5eta_346";
24
+ const contentEditable = "_contentEditable_r5eta_352";
25
+ const codeMirrorWrapper = "_codeMirrorWrapper_r5eta_364";
26
+ const frontmatterWrapper = "_frontmatterWrapper_r5eta_372";
27
+ const frontmatterToggleButton = "_frontmatterToggleButton_r5eta_382";
28
+ const propertyPanelTitle = "_propertyPanelTitle_r5eta_390";
29
+ const propertyEditorTable = "_propertyEditorTable_r5eta_398";
30
+ const iconButton = "_iconButton_r5eta_416";
31
+ const readOnlyColumnCell = "_readOnlyColumnCell_r5eta_421";
32
+ const propertyEditorLabelCell = "_propertyEditorLabelCell_r5eta_426";
33
+ const buttonsFooter = "_buttonsFooter_r5eta_434";
34
+ const propertyEditorInput = "_propertyEditorInput_r5eta_440";
35
+ const primaryButton = "_primaryButton_r5eta_464";
36
+ const secondaryButton = "_secondaryButton_r5eta_465";
37
+ const smallButton = "_smallButton_r5eta_480";
38
+ const dialogForm = "_dialogForm_r5eta_492";
39
+ const linkDialogEditForm = "_linkDialogEditForm_r5eta_498";
40
+ const linkDialogInputContainer = "_linkDialogInputContainer_r5eta_506";
41
+ const linkDialogInputWrapper = "_linkDialogInputWrapper_r5eta_512";
42
+ const linkDialogInput = "_linkDialogInput_r5eta_506";
43
+ const dialogInput = "_dialogInput_r5eta_533";
44
+ const linkDialogAnchor = "_linkDialogAnchor_r5eta_544";
45
+ const linkDialogPopoverContent = "_linkDialogPopoverContent_r5eta_558";
46
+ const tableColumnEditorPopoverContent = "_tableColumnEditorPopoverContent_r5eta_559";
47
+ const dialogContent = "_dialogContent_r5eta_560";
48
+ const largeDialogContent = "_largeDialogContent_r5eta_572";
49
+ const dialogTitle = "_dialogTitle_r5eta_582";
50
+ const dialogCloseButton = "_dialogCloseButton_r5eta_588";
51
+ const popoverContent = "_popoverContent_r5eta_595";
52
+ const popoverArrow = "_popoverArrow_r5eta_607";
53
+ const linkDialogPreviewAnchor = "_linkDialogPreviewAnchor_r5eta_611";
54
+ const tooltipTrigger = "_tooltipTrigger_r5eta_634";
55
+ const tooltipContent = "_tooltipContent_r5eta_638";
56
+ const actionButton = "_actionButton_r5eta_652";
57
+ const primaryActionButton = "_primaryActionButton_r5eta_658";
58
+ const tableEditor = "_tableEditor_r5eta_668";
59
+ const toolCell = "_toolCell_r5eta_679";
60
+ const tableColumnEditorTrigger = "_tableColumnEditorTrigger_r5eta_698";
61
+ const tableRowEditorTrigger = "_tableRowEditorTrigger_r5eta_699";
62
+ const addRowButton = "_addRowButton_r5eta_700";
63
+ const addColumnButton = "_addColumnButton_r5eta_701";
64
+ const tableColumnEditorToolbar = "_tableColumnEditorToolbar_r5eta_742";
65
+ const toggleGroupRoot = "_toggleGroupRoot_r5eta_756";
66
+ const tableToolsColumn = "_tableToolsColumn_r5eta_774";
67
+ const leftAlignedCell = "_leftAlignedCell_r5eta_783";
68
+ const rightAlignedCell = "_rightAlignedCell_r5eta_787";
69
+ const centeredCell = "_centeredCell_r5eta_791";
70
+ const dialogOverlay = "_dialogOverlay_r5eta_824";
71
+ const overlayShow = "_overlayShow_r5eta_1";
72
+ const contentShow = "_contentShow_r5eta_1";
73
+ const focusedImage = "_focusedImage_r5eta_871";
74
+ const imageWrapper = "_imageWrapper_r5eta_875";
75
+ const editImageButton = "_editImageButton_r5eta_888";
76
+ const inlineEditor = "_inlineEditor_r5eta_900";
77
+ const blockEditor = "_blockEditor_r5eta_909";
78
+ const nestedEditor = "_nestedEditor_r5eta_918";
79
+ const genericComponentName = "_genericComponentName_r5eta_937";
80
+ const diffSourceToggle = "_diffSourceToggle_r5eta_943";
81
+ const selectWithLabel = "_selectWithLabel_r5eta_957";
82
+ const toolbarTitleMode = "_toolbarTitleMode_r5eta_972";
83
+ const imageControlWrapperResizing = "_imageControlWrapperResizing_r5eta_978";
84
+ const imageResizer = "_imageResizer_r5eta_982";
85
+ const imageResizerN = "_imageResizerN_r5eta_991";
86
+ const imageResizerNe = "_imageResizerNe_r5eta_997";
87
+ const imageResizerE = "_imageResizerE_r5eta_1003";
88
+ const imageResizerSe = "_imageResizerSe_r5eta_1009";
89
+ const imageResizerS = "_imageResizerS_r5eta_1009";
90
+ const imageResizerSw = "_imageResizerSw_r5eta_1021";
91
+ const imageResizerW = "_imageResizerW_r5eta_1027";
92
+ const imageResizerNw = "_imageResizerNw_r5eta_1033";
93
+ const placeholder = "_placeholder_r5eta_1039";
94
+ const rootContentEditableWrapper = "_rootContentEditableWrapper_r5eta_1052";
95
+ const downshiftContainer = "_downshiftContainer_r5eta_1058";
96
+ const downshiftInputWrapper = "_downshiftInputWrapper_r5eta_1064";
97
+ const downshiftInput = "_downshiftInput_r5eta_1064";
98
+ const downshiftAutocompleteContainer = "_downshiftAutocompleteContainer_r5eta_1095";
99
+ const textInput = "_textInput_r5eta_1141";
100
+ const multiFieldForm = "_multiFieldForm_r5eta_1149";
101
+ const formField = "_formField_r5eta_1155";
102
+ const markdownParseError = "_markdownParseError_r5eta_1166";
103
+ const popupContainer = "_popupContainer_r5eta_1175";
104
+ const inputSizer = "_inputSizer_r5eta_1180";
105
105
  const styles = {
106
106
  editorRoot,
107
107
  editorWrapper,
@@ -127,7 +127,7 @@ const styles = {
127
127
  toolbarNodeKindSelectDropdownArrow,
128
128
  selectDropdownArrow,
129
129
  contentEditable,
130
- sandpackWrapper,
130
+ codeMirrorWrapper,
131
131
  frontmatterWrapper,
132
132
  frontmatterToggleButton,
133
133
  propertyPanelTitle,
@@ -216,6 +216,7 @@ export {
216
216
  blockEditor,
217
217
  buttonsFooter,
218
218
  centeredCell,
219
+ codeMirrorWrapper,
219
220
  contentEditable,
220
221
  contentShow,
221
222
  styles as default,
@@ -280,7 +281,6 @@ export {
280
281
  readOnlyToolbarRoot,
281
282
  rightAlignedCell,
282
283
  rootContentEditableWrapper,
283
- sandpackWrapper,
284
284
  secondaryButton,
285
285
  selectContainer,
286
286
  selectDropdownArrow,
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "*.css"
12
12
  ],
13
13
  "type": "module",
14
- "version": "2.20.6",
14
+ "version": "3.0.0-alpha.2",
15
15
  "description": "React component for rich text markdown editing",
16
16
  "scripts": {
17
17
  "build": "vite build",
@@ -37,6 +37,7 @@
37
37
  "license": "MIT",
38
38
  "dependencies": {
39
39
  "@codemirror/lang-markdown": "^6.2.3",
40
+ "@codemirror/language-data": "^6.5.1",
40
41
  "@codemirror/merge": "^6.4.0",
41
42
  "@codemirror/state": "^6.4.0",
42
43
  "@codemirror/view": "^6.23.0",