pds-dev-kit-web 2.2.226 → 2.2.227

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.
@@ -70,6 +70,9 @@ function RichTextEditor(_a) {
70
70
  if (defaultText && defaultText.length === 0) {
71
71
  setCount(defaultText.length);
72
72
  }
73
+ if (defaultText && defaultText.length !== 0 && editorRef.current) {
74
+ handleEditorValueChange(defaultText, editorRef.current);
75
+ }
73
76
  }, [defaultText]);
74
77
  var handleInit = function (evt, editor) {
75
78
  if (isLoadingUsed) {
@@ -70,6 +70,9 @@ function RichTextEditor(_a) {
70
70
  if (defaultText && defaultText.length === 0) {
71
71
  setCount(defaultText.length);
72
72
  }
73
+ if (defaultText && defaultText.length !== 0 && editorRef.current) {
74
+ handleEditorValueChange(defaultText, editorRef.current);
75
+ }
73
76
  }, [defaultText]);
74
77
  var handleInit = function (evt, editor) {
75
78
  if (isLoadingUsed) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.2.226",
3
+ "version": "2.2.227",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.2.226]
2
+ ## [v2.2.227]
3
3
  ## daily|https://design.storybook.publ.biz/
4
4
 
5
5
  ### 업데이트 사항
6
- * [PDS-1356] RichTextEditor 개선
6
+ * [PDS-1356] RichTextEditor defaultText가 있을 때, 초기 진입 시 validation을 통과하지 못하는 현상 수정