@daeryun/dr_components 1.2.31 → 1.2.32

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.
@@ -66,9 +66,17 @@ const H2Contents = ({ h2Template, index, faqCount }) => {
66
66
  <div className={'px-[10px] sm:px-[18px]'}>
67
67
  {/*h2 설명글*/}
68
68
  <div className={'lg::mt-[37.5px] mb-[44px] mt-[26px] whitespace-break-spaces text-[16px] tracking-[-0.69px] sm:mx-[20px] sm:mx-[33px] sm:mb-[50px] sm:mt-[32px] sm:text-[17.25px] lg:mb-[78px]'} itemScope={getItemScope()} itemProp={getItemProp('acceptedAnswer')} itemType={getItemType('answer')}>
69
- {h2Template.is_editor ? (<div itemProp={getItemProp('text')} id={'ck-content'} dangerouslySetInnerHTML={{
70
- __html: htmlUrlDecode(h2Template.description.replace('../../UploadFile', '/SE2/upload'))
71
- }}/>) : (<div itemProp={getItemProp('text')}>{h2Template.description}</div>)}
69
+ {h2Template.is_editor ? (
70
+ // <div
71
+ // itemProp={getItemProp('text')}
72
+ // id={'ck-content'}
73
+ // dangerouslySetInnerHTML={{
74
+ // __html: htmlUrlDecode(h2Template.description.replace('../../UploadFile', '/SE2/upload'))
75
+ // }}
76
+ // />
77
+ <div itemProp={getItemProp('text')} id={'ck-content'}>
78
+ {H2_HTML_REACT_NODE}
79
+ </div>) : (<div itemProp={getItemProp('text')}>{h2Template.description}</div>)}
72
80
  </div>
73
81
  </div>
74
82
  </div>);
@@ -108,13 +108,16 @@ const H2Contents = ({
108
108
  itemType={getItemType('answer')}
109
109
  >
110
110
  {h2Template.is_editor ? (
111
- <div
112
- itemProp={getItemProp('text')}
113
- id={'ck-content'}
114
- dangerouslySetInnerHTML={{
115
- __html: htmlUrlDecode(h2Template.description.replace('../../UploadFile', '/SE2/upload'))
116
- }}
117
- />
111
+ // <div
112
+ // itemProp={getItemProp('text')}
113
+ // id={'ck-content'}
114
+ // dangerouslySetInnerHTML={{
115
+ // __html: htmlUrlDecode(h2Template.description.replace('../../UploadFile', '/SE2/upload'))
116
+ // }}
117
+ // />
118
+ <div itemProp={getItemProp('text')} id={'ck-content'}>
119
+ {H2_HTML_REACT_NODE}
120
+ </div>
118
121
  ) : (
119
122
  <div itemProp={getItemProp('text')}>{h2Template.description}</div>
120
123
  )}
@@ -70,9 +70,19 @@ const H3Contents = ({ h3Template, faqCount }) => {
70
70
  </h3>
71
71
  {/*h3 설명글*/}
72
72
  <div itemScope={getItemScope()} itemProp={getItemProp('acceptedAnswer')} itemType={getItemType('answer')}>
73
- <div className={'mb-[44px] whitespace-break-spaces text-[16px] tracking-[-0.69px] sm:mx-[20px] sm:mx-[33px] sm:mb-[50px] sm:text-[17.25px] lg:mb-[78px]'} itemProp={getItemProp('text')} id={'ck-content'} dangerouslySetInnerHTML={{
74
- __html: htmlUrlDecode(h3Template.description.replace('../../UploadFile', '/SE2/upload'))
75
- }}></div>
73
+ {/* <div
74
+ className={
75
+ 'mb-[44px] whitespace-break-spaces text-[16px] tracking-[-0.69px] sm:mx-[20px] sm:mx-[33px] sm:mb-[50px] sm:text-[17.25px] lg:mb-[78px]'
76
+ }
77
+ itemProp={getItemProp('text')}
78
+ id={'ck-content'}
79
+ dangerouslySetInnerHTML={{
80
+ __html: htmlUrlDecode(h3Template.description.replace('../../UploadFile', '/SE2/upload'))
81
+ }}
82
+ /> */}
83
+ <div className={'mb-[44px] whitespace-break-spaces text-[16px] tracking-[-0.69px] sm:mx-[20px] sm:mx-[33px] sm:mb-[50px] sm:text-[17.25px] lg:mb-[78px]'} itemProp={getItemProp('text')} id={'ck-content'}>
84
+ {H3_HTML_REACT_NODE}
85
+ </div>
76
86
  </div>
77
87
  </div>
78
88
  </>);
@@ -112,7 +112,7 @@ const H3Contents = ({ h3Template, faqCount }: { h3Template: ISeoTemplateTypes; f
112
112
  itemProp={getItemProp('acceptedAnswer')}
113
113
  itemType={getItemType('answer')}
114
114
  >
115
- <div
115
+ {/* <div
116
116
  className={
117
117
  'mb-[44px] whitespace-break-spaces text-[16px] tracking-[-0.69px] sm:mx-[20px] sm:mx-[33px] sm:mb-[50px] sm:text-[17.25px] lg:mb-[78px]'
118
118
  }
@@ -121,7 +121,16 @@ const H3Contents = ({ h3Template, faqCount }: { h3Template: ISeoTemplateTypes; f
121
121
  dangerouslySetInnerHTML={{
122
122
  __html: htmlUrlDecode(h3Template.description.replace('../../UploadFile', '/SE2/upload'))
123
123
  }}
124
- ></div>
124
+ /> */}
125
+ <div
126
+ className={
127
+ 'mb-[44px] whitespace-break-spaces text-[16px] tracking-[-0.69px] sm:mx-[20px] sm:mx-[33px] sm:mb-[50px] sm:text-[17.25px] lg:mb-[78px]'
128
+ }
129
+ itemProp={getItemProp('text')}
130
+ id={'ck-content'}
131
+ >
132
+ {H3_HTML_REACT_NODE}
133
+ </div>
125
134
  </div>
126
135
  </div>
127
136
  </>