Khattab
05/02/2024, 11:18 PMPatrik Lithner
05/02/2024, 4:26 PMjonroberts
05/02/2024, 12:51 PMWill Pop
05/02/2024, 12:14 PMChancer
05/02/2024, 12:05 PMsvampefett
05/02/2024, 8:14 AMdiff
+ added icon- prefix
"icon": "umb:icon-credit-card",
---- original post ----
I am following this tutorial:
I created a test package, but the icon does not seem to display:
json
{
"$schema": "../../umbraco-package-schema.json",
"name": "My Test Package",
"version": "1.0.0",
"extensions": [
{
"type": "propertyEditorUi",
"alias": "my.propertyEditorUi.creditCardPicker",
"name": "My Credit Card Picker",
"meta": {
"group": "pickers",
"icon": "umb:credit-card",
"label": "Credit Card Picker",
"propertyEditorSchemaAlias": "Umbraco.Label"
}
}
]
}
Conner
05/01/2024, 6:22 PMOops! We couldn't log you in. Please check your credentials and try again.
Sean Thorne
05/01/2024, 10:17 AMAaronSadlerUK
05/01/2024, 8:32 AMMario Lopez
04/30/2024, 11:51 PMMatthew Alexandros
04/30/2024, 8:26 PMAaronSadlerUK
04/30/2024, 8:40 AMweedroid
04/29/2024, 4:24 PMMatthew Alexandros
04/29/2024, 1:10 PMSiempreSteve
04/29/2024, 12:45 PMMike Chambers
04/29/2024, 9:59 AM_nodeFilterRepository.NearestDescendantOrSelfAsync
https://github.com/umbraco/Umbraco-CMS/blob/contrib/src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DynamicRootRepository.cs#L71-L84
has a direct sql lookup? Is that bestpractice when adding a custom query step? Or should we be using the contentService if applicable?Dusten
04/29/2024, 7:31 AMDOLBAEB
04/29/2024, 6:49 AMjlatine
04/28/2024, 9:37 PMCraig100
04/28/2024, 9:26 PMCraig100
04/28/2024, 6:57 PMProNotion
04/28/2024, 8:30 AMJustify-Left
or Justify-Right
are selected from the formatting toolbar.
tinymce.init({
setup: function(editor) {
editor.on('ExecCommand', function(e) {
var selectedNode = editor.selection.getNode(); // Get the currently selected node
if (e.command === 'JustifyLeft' || e.command === 'JustifyRight') {
// Remove any previously added alignment classes
editor.dom.removeClass(selectedNode, 'custom-justify-left custom-justify-right');
// Check command and add the appropriate class
if (e.command === 'JustifyLeft') {
editor.dom.addClass(selectedNode, 'custom-justify-left');
} else if (e.command === 'JustifyRight') {
editor.dom.addClass(selectedNode, 'custom-justify-right');
}
}
});
}
});
Is this achievable somehow?Will Pop
04/28/2024, 7:20 AM<layout>
<Value><![CDATA[[
{
"key": "f0a8df2b-f1f4-4a80-9c16-2b70a52216ae",
"name": "Standard",
"ncContentTypeAlias": "standard",
"pageHeader": [
{
"key": "d7774230-5a6c-4415-b0e0-88193b4a379f",
"name": "Hero",
"ncContentTypeAlias": "hero",
"title": "Hero Title Custom Nested Content",
"subTitle": "Hero subTitle Custom Nested Content",
"component": []
}
],
"display": [
{
"key": "c172bc9a-14e8-4a78-8567-7a4375bdf469",
"name": "Html",
"ncContentTypeAlias": "html",
"text": "<p>Custom display</p>"
}
]
}
]]]></Value>
</layout>
Standard Nested Content
<layout13>
<Value><![CDATA[[
{
"key": "d2327547-8933-4803-ac84-a9c769326c60",
"name": "Standard",
"ncContentTypeAlias": "standard",
"pageHeader": "[\r\n {\r\n \"key\": \"21275e98-78c6-4563-933f-4389bfeef470\",\r\n \"name\": \"Hero\",\r\n \"ncContentTypeAlias\": \"hero\",\r\n \"title\": \"Hero Title Standard Nested Content\",\r\n \"subTitle\": \"Hero subTitle Standard Nested Content\",\r\n \"component\": []\r\n }\r\n]",
"display": "[\r\n {\r\n \"key\": \"e073dbe0-9d90-40e7-be69-a4a0141fe236\",\r\n \"name\": \"Html\",\r\n \"ncContentTypeAlias\": \"html\",\r\n \"text\": \"<p>Standard display</p>\"\r\n }\r\n]"
}
]]]></Value>
</layout13>
tbc.Will Pop
04/27/2024, 7:38 AMJanae
04/26/2024, 8:09 PMLamont
04/26/2024, 5:59 PMSteffen Nielsen
04/26/2024, 11:34 AMProNotion
04/26/2024, 9:49 AMIApiPropertyRenderer
I need to get a hold of the content item on which the property exists so that I can pass some context down to my mapping class. There are no public properties that allow access to the IPublishedContent
but I can see there is a private field on there that has a reference to it. Is there a way I can get a reference to the node on which the property exists?Aksel
04/26/2024, 8:35 AMWill Pop
04/26/2024, 6:53 AM