4.7.0
Highlights
-
Non-breaking spaces
The RTE now supports non-breaking spaces.
Note: This feature may need to be enabled for individual blocks after the update (see section @comet/admin-rte) -
Mobile compatible tabs
The tabs and RouterTabs in COMET now support smaller screens out of the box. You can scroll with arrows on the desktop and with swiping on the smartphone. -
Path search in the PageTree
Previously, you could only search for page names in the PageTree. Now you can also search by path.
@comet/admin@4.7.0
Minor Changes
- fde8e42: Add tab scrolling to make tabs responsive
Patch Changes
-
eac9990: Fix the clear-button in
FinalFormSelect
when using it with themultiple
prop.- The clear button is now only shown when at least one value is selected.
- Clearing the value now sets it to an empty array instead of
undefined
, which would cause an error when trying to render the select.
-
fe310df: Prevent the clear-button and the select-arrow from overlapping when using
FinalFormSelect
with theclearable
prop.
@comet/admin-rte@4.7.0
Minor Changes
-
dbdc0f5: Add support for non-breaking spaces to RTE
Add
"non-breaking-space"
tosupports
when creating an RTE:const [useRteApi] = makeRteApi(); export default function MyRte() { const { editorState, setEditorState } = useRteApi(); return ( <Rte value={editorState} onChange={setEditorState} options={{ supports: [ // Non-breaking space "non-breaking-space", // Other options you may wish to support "bold", "italic", ], }} /> ); }
@comet/admin-theme@4.7.0
Minor Changes
-
d1c7a1c: Add custom default styling for LinearProgress
The LinearProgress is intended to be used as a LoadingOverlay in the DataGrid. This styling change adjusts it for this purpose.
Patch Changes
- fe310df: Prevent the clear-button and the select-arrow from overlapping when using
FinalFormSelect
with theclearable
prop.
@comet/blocks-admin@4.7.0
Patch Changes
- f48a768: Fix padding behavior of
YoutubeVideoBlock
andDamVideoBlock
when used insideAdminComponentPaper