This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<RichTextEditToolbarGroup Float="Float.End"> | |
<Text TextWeight="TextWeight.Light">Templates</Text> | |
<Button Clicked="@ShowTemplateModal"> | |
<Icon Name="IconName.FileAlt" /> | |
</Button> | |
</RichTextEditToolbarGroup> | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Umbraco.Cms.Web.BackOffice.Controllers; | |
using Umbraco.Cms.Core.Services; | |
using Microsoft.AspNetCore.Mvc; | |
namespace FindAndReplace.Core.Controllers | |
{ | |
public class FindAndReplaceApiController : UmbracoAuthorizedApiController | |
{ | |
private readonly IContentTypeService _contentTypeService; | |
private readonly IContentService _contentService; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Snippet for parsing numbers following the pattern from the GoCanvas Integration Sample for .NET | |
// Note: Original sample was VB.NET, this is my port to C# | |
public static CanvasResponse ParseResponse(System.Xml.XmlNode ResponseNode) | |
{ | |
CanvasResponse oResponse = new CanvasResponse(); | |
foreach (System.Xml.XmlNode oChild in ResponseNode) | |
{ | |
if (oChild.Name == Constants.ResponseNode.SubNodes.LABEL) |