@contentful/field-editor-reference 4.0.3 → 4.0.7
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/CHANGELOG.md +24 -0
- package/dist/field-editor-reference.cjs.development.js +3 -0
- package/dist/field-editor-reference.cjs.development.js.map +1 -1
- package/dist/field-editor-reference.cjs.production.min.js +1 -1
- package/dist/field-editor-reference.cjs.production.min.js.map +1 -1
- package/dist/field-editor-reference.esm.js +3 -0
- package/dist/field-editor-reference.esm.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.0.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.0.6...@contentful/field-editor-reference@4.0.7) (2021-12-23)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- markdown buttons ([#968](https://github.com/contentful/field-editors/issues/968)) ([9803b98](https://github.com/contentful/field-editors/commit/9803b98c25d92df6148686ffe2749a77f7efdbb9))
|
|
11
|
+
|
|
12
|
+
## [4.0.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.0.5...@contentful/field-editor-reference@4.0.6) (2021-12-20)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- markdown upload asset domain url to ctfasset.net [] ([#946](https://github.com/contentful/field-editors/issues/946)) ([21ef606](https://github.com/contentful/field-editors/commit/21ef606e941feff1e8db1189c9cb48f9a82728a0))
|
|
17
|
+
|
|
18
|
+
## [4.0.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.0.4...@contentful/field-editor-reference@4.0.5) (2021-11-27)
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
- correctly determine default widget ([#943](https://github.com/contentful/field-editors/issues/943)) ([4816929](https://github.com/contentful/field-editors/commit/4816929b33348f89a1eb8af9b1a5fe9fc5b98743))
|
|
23
|
+
|
|
24
|
+
## [4.0.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.0.3...@contentful/field-editor-reference@4.0.4) (2021-11-26)
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
- **references:** sort content types alphabetically ([#942](https://github.com/contentful/field-editors/issues/942)) ([3afb1ee](https://github.com/contentful/field-editors/commit/3afb1ee79e19b30f776d45790c482f60cd532fb3))
|
|
29
|
+
|
|
6
30
|
## [4.0.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.0.2...@contentful/field-editor-reference@4.0.3) (2021-11-17)
|
|
7
31
|
|
|
8
32
|
### Bug Fixes
|
|
@@ -335,6 +335,9 @@ var CreateEntryLinkButton = function CreateEntryLinkButton(_ref) {
|
|
|
335
335
|
dropdownSettings = _ref.dropdownSettings,
|
|
336
336
|
_ref$disabled = _ref.disabled,
|
|
337
337
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
338
|
+
contentTypes = contentTypes.sort(function (a, b) {
|
|
339
|
+
return a.name.localeCompare(b.name);
|
|
340
|
+
});
|
|
338
341
|
var suggestedContentType = contentTypes.find(function (ct) {
|
|
339
342
|
return ct.sys.id === suggestedContentTypeId;
|
|
340
343
|
});
|