Skip to content

Commit 03142f8

Browse files
Upgrade uSync for test site
1 parent fed0397 commit 03142f8

File tree

229 files changed

+10144
-181
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+10144
-181
lines changed

src/Umbraco.Cms.15.x/Umbraco.Cms.15.x.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<PackageReference Include="Umbraco.Cms" Version="15.0.0" />
1414
<PackageReference Include="Umbraco.Cms.Core" Version="15.0.0" />
1515
<PackageReference Include="Umbraco.Cms.StaticAssets" Version="15.0.0" />
16-
<PackageReference Include="uSync" Version="14.2.3" />
16+
<PackageReference Include="uSync" Version="15.0.0" />
1717
</ItemGroup>
1818

1919
<ItemGroup>

src/Umbraco.Cms.15.x/appsettings.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@
2222
"EnableCleanup": true
2323
}
2424
}
25-
//"Security": {
26-
// "BackOfficeHost": "http://localhost:5173",
27-
// "AuthorizeCallbackPathName": "/oauth_complete",
28-
// "AuthorizeCallbackLogoutPathName": "/logout",
29-
// "AuthorizeCallbackErrorPathName": "/error"
30-
//}
25+
}
26+
},
27+
"uSync": {
28+
"Settings": {
29+
"ExportOnSave": "All",
30+
"ImportAtStartup": "All",
31+
"ImportOnFirstBoot": true
3132
}
3233
}
3334
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
folder has been copied to v15 as latest
2+
Delete this file for this folder to be detected as legacy again

src/Umbraco.Cms.15.x/uSync/v14/DataTypes/RichtextEditor.config

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,32 @@
33
<Info>
44
<Name>Richtext editor</Name>
55
<EditorAlias>Umbraco.RichText</EditorAlias>
6-
<EditorUIAlias>Umb.PropertyEditorUi.Tiptap</EditorUIAlias>
6+
<EditorUIAlias>Umb.PropertyEditorUi.TinyMCE</EditorUIAlias>
77
</Info>
88
<Config><![CDATA[{
99
"blocks": [
1010
{
1111
"contentElementTypeKey": "b27373cd-3e5e-4828-b00b-7cebb2b06270"
1212
}
1313
],
14-
"extensions": [
15-
"Umb.Tiptap.RichTextEssentials",
16-
"Umb.Tiptap.Embed",
17-
"Umb.Tiptap.Figure",
18-
"Umb.Tiptap.Image",
19-
"Umb.Tiptap.Link",
20-
"Umb.Tiptap.MediaUpload",
21-
"Umb.Tiptap.Subscript",
22-
"Umb.Tiptap.Superscript",
23-
"Umb.Tiptap.Table",
24-
"Umb.Tiptap.TextAlign",
25-
"Umb.Tiptap.Underline",
26-
"Umb.Tiptap.Block"
27-
],
2814
"maxImageSize": 500,
29-
"overlaySize": "medium",
15+
"mode": "Classic",
3016
"toolbar": [
31-
[
32-
[
33-
"Umb.Tiptap.Toolbar.Bold",
34-
"Umb.Tiptap.Toolbar.Italic",
35-
"Umb.Tiptap.Toolbar.Underline",
36-
"Umb.Tiptap.Toolbar.BlockPicker",
37-
"Umb.Tiptap.Toolbar.SourceEditor"
38-
]
39-
]
17+
"styles",
18+
"bold",
19+
"italic",
20+
"alignleft",
21+
"aligncenter",
22+
"alignright",
23+
"bullist",
24+
"numlist",
25+
"outdent",
26+
"indent",
27+
"link",
28+
"sourcecode",
29+
"umbmediapicker",
30+
"umbembeddialog",
31+
"umbblockpicker"
4032
]
4133
}]]></Config>
4234
</DataType>
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Content Key="2ed5a2c4-b6a0-4566-9d44-23fb7844abdc" Alias="Block List Test" Level="2">
3+
<Info>
4+
<Parent Key="6e2ff1f7-114e-484b-a407-918daded1aa6">Home</Parent>
5+
<Path>/Home/BlockListTest</Path>
6+
<Trashed>false</Trashed>
7+
<ContentType>blockList</ContentType>
8+
<CreateDate>2024-04-23T14:41:04</CreateDate>
9+
<NodeName Default="Block List Test" />
10+
<SortOrder>2</SortOrder>
11+
<Published Default="true" />
12+
<Schedule />
13+
<Template Key="c021e223-9e49-4725-b942-eb2562f00b84">BlockList</Template>
14+
</Info>
15+
<Properties>
16+
<content>
17+
<Value><![CDATA[{
18+
"contentData": [
19+
{
20+
"contentTypeKey": "432b58a8-01b7-47dc-8664-f72bf1045f66",
21+
"key": "19c9c9fb-5c58-4eab-834e-46d23d712a01",
22+
"udi": null,
23+
"values": [
24+
{
25+
"alias": "headline",
26+
"culture": null,
27+
"editorAlias": null,
28+
"segment": null,
29+
"value": "Test Hero"
30+
},
31+
{
32+
"alias": "image",
33+
"culture": null,
34+
"editorAlias": null,
35+
"segment": null,
36+
"value": [
37+
{
38+
"key": "e8efa672-67e5-4dc3-ad31-022590b1d9d7",
39+
"mediaKey": "591f607c-6a13-4773-a868-76db1148ffb0",
40+
"mediaTypeAlias": "Image",
41+
"crops": [],
42+
"focalPoint": null
43+
}
44+
]
45+
},
46+
{
47+
"alias": "backgroundColor",
48+
"culture": null,
49+
"editorAlias": null,
50+
"segment": null,
51+
"value": {
52+
"label": "f5effb",
53+
"value": "#f5effb"
54+
}
55+
},
56+
{
57+
"alias": "contrast",
58+
"culture": null,
59+
"editorAlias": null,
60+
"segment": null,
61+
"value": {
62+
"label": "000000",
63+
"value": "#000000"
64+
}
65+
}
66+
]
67+
}
68+
],
69+
"settingsData": [],
70+
"expose": [
71+
{
72+
"contentKey": "19c9c9fb-5c58-4eab-834e-46d23d712a01",
73+
"culture": null,
74+
"segment": null
75+
}
76+
],
77+
"Layout": {
78+
"Umbraco.BlockList": [
79+
{
80+
"contentKey": "19c9c9fb-5c58-4eab-834e-46d23d712a01",
81+
"contentUdi": "umb://element/19c9c9fb5c584eab834e46d23d712a01",
82+
"settingsKey": null,
83+
"settingsUdi": null
84+
}
85+
]
86+
}
87+
}]]></Value>
88+
</content>
89+
</Properties>
90+
</Content>

0 commit comments

Comments
 (0)