@atlaskit/editor-core 213.6.0 → 213.6.1
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/dist/cjs/create-editor/ReactEditorView.js +5 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +5 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +5 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 213.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0baf501ee24bc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0baf501ee24bc) -
|
|
8
|
+
Add dangerouslySetInnerHTML to ReactEditorView when platform_editor_hydratable_ui is enabled
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 213.6.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -681,6 +681,11 @@ function ReactEditorView(props) {
|
|
|
681
681
|
"aria-describedby": assistiveDescribedBy,
|
|
682
682
|
"data-editor-id": editorId.current,
|
|
683
683
|
"data-vc-ignore-if-no-layout-shift": true
|
|
684
|
+
// eslint-disable-next-line react/no-danger -- needed for SSR and hydration so react keeps the HTML untouched
|
|
685
|
+
,
|
|
686
|
+
dangerouslySetInnerHTML: (0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) ? {
|
|
687
|
+
__html: ''
|
|
688
|
+
} : undefined
|
|
684
689
|
}));
|
|
685
690
|
}, [handleEditorViewRef, props.intl]);
|
|
686
691
|
var previousPreset = (0, _hooks.usePreviousState)(preset);
|
|
@@ -628,6 +628,11 @@ export function ReactEditorView(props) {
|
|
|
628
628
|
"aria-describedby": assistiveDescribedBy,
|
|
629
629
|
"data-editor-id": editorId.current,
|
|
630
630
|
"data-vc-ignore-if-no-layout-shift": true
|
|
631
|
+
// eslint-disable-next-line react/no-danger -- needed for SSR and hydration so react keeps the HTML untouched
|
|
632
|
+
,
|
|
633
|
+
dangerouslySetInnerHTML: expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) ? {
|
|
634
|
+
__html: ''
|
|
635
|
+
} : undefined
|
|
631
636
|
}));
|
|
632
637
|
}, [handleEditorViewRef, props.intl]);
|
|
633
638
|
const previousPreset = usePreviousState(preset);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "0.0.0-development";
|
|
@@ -671,6 +671,11 @@ export function ReactEditorView(props) {
|
|
|
671
671
|
"aria-describedby": assistiveDescribedBy,
|
|
672
672
|
"data-editor-id": editorId.current,
|
|
673
673
|
"data-vc-ignore-if-no-layout-shift": true
|
|
674
|
+
// eslint-disable-next-line react/no-danger -- needed for SSR and hydration so react keeps the HTML untouched
|
|
675
|
+
,
|
|
676
|
+
dangerouslySetInnerHTML: expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) ? {
|
|
677
|
+
__html: ''
|
|
678
|
+
} : undefined
|
|
674
679
|
}));
|
|
675
680
|
}, [handleEditorViewRef, props.intl]);
|
|
676
681
|
var previousPreset = usePreviousState(preset);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "0.0.0-development";
|