Skip to content

Commit 755bb30

Browse files
authored
Merge pull request #84 from jcdcdev/dev/v15
15.0.7
2 parents cac2854 + 87aaf3a commit 755bb30

File tree

6 files changed

+103
-62
lines changed

6 files changed

+103
-62
lines changed

.github/README.md

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,51 @@
11
# jcdcdev.Umbraco.ExtendedMarkdownEditor
22

3-
[![Umbraco Marketplace](https://img.shields.io/badge/Umbraco-Marketplace-%233544B1?style=flat&logo=umbraco)](https://marketplace.umbraco.com/package/jcdcdev.umbraco.extendedmarkdowneditor)
4-
[![GitHub License](https://img.shields.io/github/license/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor?color=8AB803&label=License&logo=github)](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/blob/main/LICENSE)
5-
[![NuGet Downloads](https://img.shields.io/nuget/dt/jcdcdev.Umbraco.ExtendedMarkdownEditor?color=cc9900&label=Downloads&logo=nuget)](https://www.nuget.org/packages/jcdcdev.Umbraco.ExtendedMarkdownEditor/)
3+
[![Umbraco Marketplace](https://img.shields.io/badge/Umbraco-Marketplace-%233544B1?style=flat&logo=umbraco)](https://marketplace.umbraco.com/package/jcdcdev.Umbraco.ExtendedMarkdownEditor)
4+
[![License](https://img.shields.io/github/license/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor?color=8AB803&label=License&logo=github)](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor?tab=MIT-1-ov-file)
5+
[![NuGet Downloads](https://img.shields.io/nuget/dt/jcdcdev.Umbraco.ExtendedMarkdownEditor?color=cc9900&label=Downloads&logo=nuget)](https://www.nuget.org/packages/jcdcdev.Umbraco.ExtendedMarkdownEditor)
66
[![Project Website](https://img.shields.io/badge/Project%20Website-jcdc.dev-jcdcdev?style=flat&color=3c4834&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0id2hpdGUiIGNsYXNzPSJiaSBiaS1wYy1kaXNwbGF5IiB2aWV3Qm94PSIwIDAgMTYgMTYiPgogIDxwYXRoIGQ9Ik04IDFhMSAxIDAgMCAxIDEtMWg2YTEgMSAwIDAgMSAxIDF2MTRhMSAxIDAgMCAxLTEgMUg5YTEgMSAwIDAgMS0xLTF6bTEgMTMuNWEuNS41IDAgMSAwIDEgMCAuNS41IDAgMCAwLTEgMG0yIDBhLjUuNSAwIDEgMCAxIDAgLjUuNSAwIDAgMC0xIDBNOS41IDFhLjUuNSAwIDAgMCAwIDFoNWEuNS41IDAgMCAwIDAtMXpNOSAzLjVhLjUuNSAwIDAgMCAuNS41aDVhLjUuNSAwIDAgMCAwLTFoLTVhLjUuNSAwIDAgMC0uNS41TTEuNSAyQTEuNSAxLjUgMCAwIDAgMCAzLjV2N0ExLjUgMS41IDAgMCAwIDEuNSAxMkg2djJoLS41YS41LjUgMCAwIDAgMCAxSDd2LTRIMS41YS41LjUgMCAwIDEtLjUtLjV2LTdhLjUuNSAwIDAgMSAuNS0uNUg3VjJ6Ii8+Cjwvc3ZnPg==)](https://jcdc.dev/umbraco-packages/extended-markdown-editor)
77

8-
A lightweight custom property editor for Umbraco that sits on top of the default Umbraco.MarkdownEditor.
98

10-
## Features
11-
12-
### Property Value Converter
13-
14-
Replaces `IHtmlEncodedString` with `MarkdownValue` which contains the following properties
15-
16-
- **Raw** - The raw markdown as a string
17-
- **Html** - The transformed HTML value
9+
A lightweight custom property editor for Umbraco that sits on top of the default Umbraco.MarkdownEditor.
10+
11+
### Plug and Play
12+
13+
All existing and future properties using Umbraco.MarkdownEditor will automatically use the new editor.
14+
15+
Removing this package will revert to the default Umbraco.MarkdownEditor, **no data loss will occur**.
16+
17+
### Data Type
18+
19+
Extends the configuration to allow control over the transformation of Markdown to HTML
20+
21+
- **Header Offset** - The offset to apply to the header levels
22+
- For example: `-1` would transform `# Header 1` to `<h2>Header 1</h2>`
23+
- **External Links** Open In New Tab - Adds `target="_blank"` to external links
24+
25+
### Property Value Converter
26+
27+
Replaces `IHtmlEncodedString` with `MarkdownValue` which contains the following properties
28+
29+
- **Raw** - The raw markdown as a string
30+
- **Html** - The transformed HTML value
1831
- **Markdown** - The Markdig MarkdownDocument
1932

20-
### Data Type
21-
22-
Extends the configuration to allow control over the transformation of Markdown to HTML
23-
24-
- **Header Offset** - The offset to apply to the header levels
25-
- For example: `-1` would transform `# Header 1` to `<h2>Header 1</h2>`
26-
- **External Links** Open In New Tab - Adds `target="_blank"` to external links
27-
28-
### Plug and Play
29-
30-
All existing and future properties using Umbraco.MarkdownEditor will automatically use the new editor.
31-
32-
Removing this package will revert to the default Umbraco.MarkdownEditor, **no data loss will occur**.
33-
3433
## Quick Start
3534

36-
```csharp
37-
dotnet add package jcdcdev.Umbraco.ExtendedMarkdownEditor
35+
```csharp
36+
dotnet add package jcdcdev.Umbraco.ExtendedMarkdownEditor
3837
```
3938

39+
40+
4041
## Contributing
4142

42-
Contributions to this package are most welcome! Please read
43-
the [Contributing Guidelines](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/blob/main/.github/CONTRIBUTING.md).
43+
Contributions to this package are most welcome! Please visit the [Contributing](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/contribute) page.
4444

45-
## Acknowledgments (thanks!)
45+
## Acknowledgements (Thanks)
4646

4747
- LottePitcher - [opinionated-package-starter](https://github.com/LottePitcher/opinionated-package-starter)
4848
- jcdcdev - [jcdcdev.Umbraco.PackageTemplate](https://github.com/jcdcdev/jcdcdev.Umbraco.PackageTemplate)
49+
50+
51+

SECURITY.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@
22

33
## Supported Versions
44

5-
The following table outlines the versions of the project that are currently supported with security updates:
5+
The following table outlines the versions of the project that are currently supported with security & feature updates:
66

7-
| Version | Supported | Umbraco Version |
8-
| ------------------------------------------------------------------------------------ | --------- | --------------- |
9-
| [15.x](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/tree/v15) || 15 |
10-
| [14.x](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/tree/v14) || 14 |
11-
| [13.x](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/tree/v13) || 13 |
12-
| [10.x](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/tree/v10) || 10 |
13-
| [12.x](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/tree/v12) || 12 |
14-
| [0.1.x](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/tree/main) || 11 |
7+
> [!NOTE]
8+
> Once a version starts its security phase, it will no longer receive feature updates. Only critical bug fixes and security updates will be provided.
9+
10+
| Package Version | Umbraco Version | Security Phase Start | End of Life |
11+
| ---------------------------------------------------------------------------------- | --------------- | -------------------- | ----------- |
12+
| [10.x](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/tree/v10) | 10 | 2024-06-16 | 2025-06-16 |
13+
| [13.x](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/tree/v13) | 13 | 2025-12-14 | 2026-12-14 |
14+
| [14.x](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/tree/v14) | 14 | 2025-03-02 | 2025-05-30 |
15+
| [15.x](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/tree/v15) | 15 | 2025-08-14 | 2025-11-14 |
16+
## Unsupported Versions
17+
18+
| Package Version | Umbraco Version | End of Life |
19+
| ---------------------------------------------------------------------------------- | --------------- | ----------- |
20+
| [12.x](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/tree/v12) | 12 | 2024-06-29 |
1521

1622

1723
## Future Support
@@ -25,7 +31,7 @@ Project maintainers plan to support all STS (Short-Term Support) and LTS (Long-T
2531

2632
If you discover a vulnerability in this project, please follow one of these steps to report it:
2733

28-
- Create an [issue](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/security/advisories/new)
34+
- Create an [issue](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/security/advisories/new)
2935
- Contact the project author privately at [jcdc.dev/contact](https://jcdc.dev/contact)
3036

3137
### Details
@@ -36,21 +42,21 @@ Include as much information as possible about the vulnerability, including:
3642
- Potential impact
3743
- Any suggested fixes
3844

39-
4045
### Acknowledgment
4146

42-
You will receive an acknowledgment of your report as soon as possible.
47+
You will receive an acknowledgment of your report as soon as possible.
4348

4449
> [!NOTE]
4550
> Response times may vary depending on other commitments.
4651
4752
### Resolution
4853

49-
Once the vulnerability is confirmed, project maintainers will work to resolve it as quickly as possible.
54+
Once the vulnerability is confirmed, project maintainers will work to resolve it as quickly as possible.
5055

51-
You will be notified once the issue has been resolved or rejected.
56+
You will be notified once the issue has been resolved or rejected.
5257

5358
> [!TIP]
5459
> If the vulnerability is accepted, you will receive credit in the release notes.
5560
5661
Thank you for helping to keep this project secure!
62+

docs/README_nuget.md

Lines changed: 41 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,51 @@
11
# jcdcdev.Umbraco.ExtendedMarkdownEditor
22

3-
[![Documentation](https://img.shields.io/badge/Docs-Quickstart-394933?style=flat&logo=github)](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/tree/main?tab=readme-ov-file#quick-start)
4-
[![Umbraco Marketplace](https://img.shields.io/badge/Umbraco-Marketplace-%233544B1?style=flat&logo=umbraco)](https://marketplace.umbraco.com/package/jcdcdev.umbraco.extendedmarkdowneditor)
5-
[![GitHub License](https://img.shields.io/github/license/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor?color=8AB803&label=License&logo=github)](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/blob/main/LICENSE)
6-
[![NuGet Downloads](https://img.shields.io/nuget/dt/jcdcdev.Umbraco.ExtendedMarkdownEditor?color=cc9900&label=Downloads&logo=nuget)](https://www.nuget.org/packages/jcdcdev.Umbraco.ExtendedMarkdownEditor/)
3+
[![Documentation](https://img.shields.io/badge/Docs-Quickstart-394933?style=flat&logo=github)](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor?tab=readme-ov-file#quick-start)
4+
[![Umbraco Marketplace](https://img.shields.io/badge/Umbraco-Marketplace-%233544B1?style=flat&logo=umbraco)](https://marketplace.umbraco.com/package/jcdcdev.Umbraco.ExtendedMarkdownEditor)
5+
[![License](https://img.shields.io/github/license/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor?color=8AB803&label=License&logo=github)](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor?tab=MIT-1-ov-file)
6+
[![NuGet Downloads](https://img.shields.io/nuget/dt/jcdcdev.Umbraco.ExtendedMarkdownEditor?color=cc9900&label=Downloads&logo=nuget)](https://www.nuget.org/packages/jcdcdev.Umbraco.ExtendedMarkdownEditor)
77
[![Project Website](https://img.shields.io/badge/Project%20Website-jcdc.dev-jcdcdev?style=flat&color=3c4834&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0id2hpdGUiIGNsYXNzPSJiaSBiaS1wYy1kaXNwbGF5IiB2aWV3Qm94PSIwIDAgMTYgMTYiPgogIDxwYXRoIGQ9Ik04IDFhMSAxIDAgMCAxIDEtMWg2YTEgMSAwIDAgMSAxIDF2MTRhMSAxIDAgMCAxLTEgMUg5YTEgMSAwIDAgMS0xLTF6bTEgMTMuNWEuNS41IDAgMSAwIDEgMCAuNS41IDAgMCAwLTEgMG0yIDBhLjUuNSAwIDEgMCAxIDAgLjUuNSAwIDAgMC0xIDBNOS41IDFhLjUuNSAwIDAgMCAwIDFoNWEuNS41IDAgMCAwIDAtMXpNOSAzLjVhLjUuNSAwIDAgMCAuNS41aDVhLjUuNSAwIDAgMCAwLTFoLTVhLjUuNSAwIDAgMC0uNS41TTEuNSAyQTEuNSAxLjUgMCAwIDAgMCAzLjV2N0ExLjUgMS41IDAgMCAwIDEuNSAxMkg2djJoLS41YS41LjUgMCAwIDAgMCAxSDd2LTRIMS41YS41LjUgMCAwIDEtLjUtLjV2LTdhLjUuNSAwIDAgMSAuNS0uNUg3VjJ6Ii8+Cjwvc3ZnPg==)](https://jcdc.dev/umbraco-packages/extended-markdown-editor)
88

9-
A lightweight custom property editor for Umbraco that sits on top of the default Umbraco.MarkdownEditor.
9+
10+
A lightweight custom property editor for Umbraco that sits on top of the default Umbraco.MarkdownEditor.
11+
12+
### Plug and Play
13+
14+
All existing and future properties using Umbraco.MarkdownEditor will automatically use the new editor.
15+
16+
Removing this package will revert to the default Umbraco.MarkdownEditor, **no data loss will occur**.
17+
18+
### Data Type
19+
20+
Extends the configuration to allow control over the transformation of Markdown to HTML
21+
22+
- **Header Offset** - The offset to apply to the header levels
23+
- For example: `-1` would transform `# Header 1` to `<h2>Header 1</h2>`
24+
- **External Links** Open In New Tab - Adds `target="_blank"` to external links
25+
26+
### Property Value Converter
27+
28+
Replaces `IHtmlEncodedString` with `MarkdownValue` which contains the following properties
29+
30+
- **Raw** - The raw markdown as a string
31+
- **Html** - The transformed HTML value
32+
- **Markdown** - The Markdig MarkdownDocument
33+
34+
## Quick Start
35+
36+
```csharp
37+
dotnet add package jcdcdev.Umbraco.ExtendedMarkdownEditor
38+
```
39+
1040

1141
## Contributing
1242

13-
Contributions to this package are most welcome! Please read
14-
the [Contributing Guidelines](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/blob/main/.github/CONTRIBUTING.md).
43+
Contributions to this package are most welcome! Please visit the [Contributing](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/contribute) page.
1544

16-
## Acknowledgments (thanks!)
45+
## Acknowledgements (Thanks)
1746

1847
- LottePitcher - [opinionated-package-starter](https://github.com/LottePitcher/opinionated-package-starter)
19-
- jcdcdev - [jcdcdev.Umbraco.PackageTemplate](https://github.com/jcdcdev/jcdcdev.Umbraco.PackageTemplate)
48+
- jcdcdev - [jcdcdev.Umbraco.PackageTemplate](https://github.com/jcdcdev/jcdcdev.Umbraco.PackageTemplate)
49+
50+
51+

src/jcdcdev.Umbraco.ExtendedMarkdownEditor.Client/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/jcdcdev.Umbraco.ExtendedMarkdownEditor.Client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"devDependencies": {
1515
"@umbraco-cms/backoffice": "^15.3.1",
1616
"typescript": "^5.8.3",
17-
"vite": "^6.3.2"
17+
"vite": "^6.3.4"
1818
},
1919
"volta": {
2020
"node": "22.14.0"

src/jcdcdev.Umbraco.ExtendedMarkdownEditor/Extensions/MarkdownExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public static bool TryParse(string markdown, [NotNullWhen(true)] out MarkdownDoc
1010
{
1111
try
1212
{
13-
document = Markdown.Parse(markdown);
13+
document = Markdown.Parse(markdown, true);
1414
return true;
1515
}
1616
catch

0 commit comments

Comments
 (0)