Commit ef80ebb
authored
Fix markdown in descriptions rendering (#4597)
* Fix markdown in descriptions rendering
Reimplements #4405 in v6
In the fields of type `object` and type `boolean`, markdown will be rendered in the description when `enableMarkdownInDescription` is set to `true`.
Issue reporting this bug: #3975
Previous PR to add the feature: #3665
The result:
<img width="1484" alt="Screenshot 2024-12-01 at 18 44 54" src="https://github.com/user-attachments/assets/46bcf958-2da3-4706-a855-825fd73e1b27">
* - Fixed daisyui Theme changing to cleanup the tailwind styles
* - Moved checkbox implementation into the `CheckboxWidget`
* - Updated the `CHANGELOG.md` to document another `daisyui` change
* - Fixed build and playground ajv issue1 parent 0d3515b commit ef80ebb
File tree
63 files changed
+315462
-727433
lines changed- packages
- antd
- src/templates/DescriptionField
- test/__snapshots__
- chakra-ui
- src
- CheckboxWidget
- DescriptionField
- test/__snapshots__
- core
- src
- components
- fields
- templates
- widgets
- test
- __snapshots__
- daisyui
- src
- templates
- DescriptionField
- FieldTemplate
- widgets/CheckboxWidget
- test
- __snapshots__
- docs/docs/api-reference
- fluentui-rc
- src
- CheckboxWidget
- DescriptionField
- test/__snapshots__
- mui
- src
- CheckboxWidget
- DescriptionField
- test/__snapshots__
- playground/src
- samples
- react-bootstrap
- src
- CheckboxWidget
- DescriptionField
- test/__snapshots__
- semantic-ui
- src
- CheckboxWidget
- DescriptionField
- test/__snapshots__
- shadcn
- src
- CheckboxWidget
- DescriptionField
- test/__snapshots__
- snapshot-tests/src
- utils/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
63 files changed
+315462
-727433
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
18 | 71 | | |
19 | 72 | | |
20 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
17 | 22 | | |
0 commit comments