@cntrl-site/sdk-nextjs 0.8.7 → 0.8.8
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/.idea/inspectionProfiles/Project_Default.xml +15 -0
- package/cntrl-site-sdk-nextjs-0.8.5.tgz +0 -0
- package/cntrl-site-sdk-nextjs-0.8.8.tgz +0 -0
- package/lib/utils/RichTextConverter/RichTextConverter.js +1 -1
- package/package.json +1 -1
- package/src/utils/RichTextConverter/RichTextConverter.tsx +1 -1
- package/cntrl-site-sdk-nextjs-0.7.1.tgz +0 -0
- package/cntrl-site-sdk-nextjs-0.8.4.tgz +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<component name="InspectionProjectProfileManager">
|
|
2
|
+
<profile version="1.0">
|
|
3
|
+
<option name="myName" value="Project Default" />
|
|
4
|
+
<inspection_tool class="HtmlUnknownAttribute" enabled="true" level="WARNING" enabled_by_default="true">
|
|
5
|
+
<option name="myValues">
|
|
6
|
+
<value>
|
|
7
|
+
<list size="1">
|
|
8
|
+
<item index="0" class="java.lang.String" itemvalue="jsx" />
|
|
9
|
+
</list>
|
|
10
|
+
</value>
|
|
11
|
+
</option>
|
|
12
|
+
<option name="myCustomValuesEnabled" value="true" />
|
|
13
|
+
</inspection_tool>
|
|
14
|
+
</profile>
|
|
15
|
+
</component>
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -185,7 +185,7 @@ export class RichTextConverter {
|
|
|
185
185
|
|
|
186
186
|
private groupEntities(entities: RichText.Entity[], styleGroups?: StyleGroup[]): EntitiesGroup[] | undefined {
|
|
187
187
|
const entitiesGroups: EntitiesGroup[] = [];
|
|
188
|
-
if (!styleGroups) return;
|
|
188
|
+
if (!styleGroups || styleGroups.length === 0) return;
|
|
189
189
|
if (entities.length === 0) {
|
|
190
190
|
entitiesGroups.push({
|
|
191
191
|
stylesGroup: styleGroups,
|
|
Binary file
|
|
Binary file
|