Skip to content

Commit d045144

Browse files
feat(rich-text): add tableBetter property to custom basic mode
1 parent 766fdff commit d045144

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

packages/pluggableWidgets/rich-text-web/src/RichText.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?xml version="1.0" encoding="utf-8" ?>
2-
<widget id="com.mendix.widget.custom.richtext.RichText" needsEntityContext="true" pluginWidget="true" offlineCapable="true"
3-
xmlns="http://www.mendix.com/widget/1.0/"
4-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mendix.com/widget/1.0/ ../node_modules/mendix/custom_widget.xsd">
2+
<widget id="com.mendix.widget.custom.richtext.RichText" needsEntityContext="true" pluginWidget="true" offlineCapable="true" xmlns="http://www.mendix.com/widget/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mendix.com/widget/1.0/ ../node_modules/mendix/custom_widget.xsd">
53
<name>Rich Text</name>
64
<description>Rich inline or toolbar text editing</description>
75
<studioProCategory>Input elements</studioProCategory>
@@ -225,6 +223,10 @@
225223
<caption>Removal</caption>
226224
<description />
227225
</property>
226+
<property key="tableBetter" type="boolean" defaultValue="true">
227+
<caption>Table</caption>
228+
<description />
229+
</property>
228230
<property key="advancedConfig" type="object" isList="true" required="false">
229231
<caption>Advanced groups</caption>
230232
<description />

packages/pluggableWidgets/rich-text-web/typings/RichTextProps.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export interface RichTextContainerProps {
7272
header: boolean;
7373
view: boolean;
7474
remove: boolean;
75+
tableBetter: boolean;
7576
advancedConfig: AdvancedConfigType[];
7677
}
7778

@@ -112,5 +113,6 @@ export interface RichTextPreviewProps {
112113
header: boolean;
113114
view: boolean;
114115
remove: boolean;
116+
tableBetter: boolean;
115117
advancedConfig: AdvancedConfigPreviewType[];
116118
}

0 commit comments

Comments
 (0)