From 95862313b6c469d2ee3c6b33735b524aec757d16 Mon Sep 17 00:00:00 2001 From: Jan Skovgaard <1932158+BatJan@users.noreply.github.com> Date: Wed, 7 May 2025 21:57:40 +0200 Subject: [PATCH] Add missing import When copy/pasting the displayed code sample my IDE tells me to import "Tokens" so I suggest that it's added to the docs as well :) --- 15/umbraco-cms/reference/umbraco-flavored-markdown.md | 1 + 1 file changed, 1 insertion(+) diff --git a/15/umbraco-cms/reference/umbraco-flavored-markdown.md b/15/umbraco-cms/reference/umbraco-flavored-markdown.md index 7bb6f77394d..f55ee17e8f5 100644 --- a/15/umbraco-cms/reference/umbraco-flavored-markdown.md +++ b/15/umbraco-cms/reference/umbraco-flavored-markdown.md @@ -127,6 +127,7 @@ If you wish to develop your own custom UFM component, you can use the `ufmCompon The corresponding JavaScript/TypeScript API would contain a method to render the custom label/markup. ```js +import { Tokens } from '@umbraco-cms/backoffice/external/marked'; import { UmbUfmComponentBase } from '@umbraco-cms/backoffice/ufm'; export class MyCustomUfmComponentApi extends UmbUfmComponentBase {