From 219a5adee46b3106162d72faa7e23386d0316d71 Mon Sep 17 00:00:00 2001 From: Nadeem Patwekar Date: Tue, 13 Aug 2024 20:32:52 +0530 Subject: [PATCH] feat: :sparkles: classname and id property support added in TextNode --- CHANGELOG.md | 4 ++++ Contentstack.Utils.sln | 2 +- Contentstack.Utils/Models/TextNode.cs | 2 ++ Directory.Build.props | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 766d318..4d6f68e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ +### Version: 1.0.4 +#### Date: Aug-21-2024 +- Classname and ID property support in text node + ### Version: 1.0.3 #### Date: Jul-10-2024 - Editable tags added diff --git a/Contentstack.Utils.sln b/Contentstack.Utils.sln index 5356759..85e4cc7 100644 --- a/Contentstack.Utils.sln +++ b/Contentstack.Utils.sln @@ -21,7 +21,7 @@ Global {EB2B5E23-E45F-4C6C-BF98-FE3971DE4250}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(MonoDevelopProperties) = preSolution - version = 1.0.2 + version = 1.0.4 Policies = $0 $0.DotNetNamingPolicy = $1 $1.DirectoryNamespaceAssociation = PrefixedHierarchical diff --git a/Contentstack.Utils/Models/TextNode.cs b/Contentstack.Utils/Models/TextNode.cs index 4933a1e..bb86a87 100644 --- a/Contentstack.Utils/Models/TextNode.cs +++ b/Contentstack.Utils/Models/TextNode.cs @@ -10,6 +10,8 @@ public class TextNode: Node public bool inlineCode { get; set; } public bool subscript { get; set; } public bool superscript { get; set; } + public string classname { get; set; } + public string id { get; set; } public string text { get; set; } } } diff --git a/Directory.Build.props b/Directory.Build.props index 80b11f8..d5c9309 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,5 +1,5 @@ - 1.0.3 + 1.0.4