Umbraco.Community.TiptapLoremIpsum
0.1.1
dotnet add package Umbraco.Community.TiptapLoremIpsum --version 0.1.1
NuGet\Install-Package Umbraco.Community.TiptapLoremIpsum -Version 0.1.1
<PackageReference Include="Umbraco.Community.TiptapLoremIpsum" Version="0.1.1" />
<PackageVersion Include="Umbraco.Community.TiptapLoremIpsum" Version="0.1.1" />
<PackageReference Include="Umbraco.Community.TiptapLoremIpsum" />
paket add Umbraco.Community.TiptapLoremIpsum --version 0.1.1
#r "nuget: Umbraco.Community.TiptapLoremIpsum, 0.1.1"
#:package Umbraco.Community.TiptapLoremIpsum@0.1.1
#addin nuget:?package=Umbraco.Community.TiptapLoremIpsum&version=0.1.1
#tool nuget:?package=Umbraco.Community.TiptapLoremIpsum&version=0.1.1
Umbraco.Community.TiptapLoremIpsum
A Tiptap toolbar extension for the Umbraco v14+ Rich Text Editor that inserts Lorem Ipsum filler content with one click. Perfect for content authors prototyping layouts and for QA/testing teams generating large amounts of placeholder content fast.
๐ชถ Tiny, zero-runtime-dependency, MIT licensed. ๐งช Open-source MIT โ use it commercially, fork it, extend it.
Features
- โ One-click toolbar button drops 3 paragraphs of Lorem Ipsum at the cursor
- โ Shift+click for bulk (15 paragraphs in one go โ great for filling out long pages)
- โ Alt+click opens a prompt to enter any custom paragraph count (1โ100)
- โ
Classic opener โ first paragraph starts with
Lorem ipsum dolor sit amet, consectetur adipiscing elit. - โ Realistic variation โ random sentence length, sprinkled commas, paragraph-by-paragraph variation
- โ
Reusable generator โ
generateLoremIpsumHtml()/generateLoremIpsumParagraphs()exported for programmatic use (seed scripts, content imports, tests)
Compatibility
| Umbraco | Status |
|---|---|
| v14+ | โ Supported (Tiptap RTE) |
| v13 and below | โ Not supported (old TinyMCE RTE) |
Built and tested against Umbraco 17.x. Should work on any Umbraco version that ships the Tiptap-based RTE.
Installation
Option 1: NuGet (recommended)
dotnet add package Umbraco.Community.TiptapLoremIpsum
Or in your .csproj:
<PackageReference Include="Umbraco.Community.TiptapLoremIpsum" Version="0.1.1" />
Option 2: Umbraco Marketplace
Coming soon โ the package will be listed on the Umbraco Marketplace.
Enable the toolbar button
- Restart your site (so the new
App_Pluginscontent is picked up) - Open the Settings section in the Umbraco backoffice
- Navigate to Data Types โ open a Rich Text editor data type (e.g.
Richtext editor) - Scroll to Toolbar and click the + to add a button
- Find "Insert Lorem Ipsum" and add it to the toolbar
- Save the data type โ the button now appears on every property using this RTE
Usage
In any content node with the configured RTE:
| Action | Result |
|---|---|
| Click the Lorem Ipsum button | Inserts 3 paragraphs at the cursor |
| Shift+click | Inserts 15 paragraphs (bulk filler) |
| Alt+click | Prompts for paragraph count (1โ100) |
The first paragraph always starts with the classic Lorem ipsum dolor sit amet, consectetur adipiscing elit. so it reads as familiar Lorem Ipsum.
Programmatic API
If you import the package's JS module in your own backoffice extensions, the generator functions are exposed:
import {
generateLoremIpsumHtml,
generateLoremIpsumParagraphs,
type LoremIpsumOptions,
} from "@umbraco-community/tiptap-lorem-ipsum";
const html = generateLoremIpsumHtml({
paragraphs: 5,
minSentencesPerParagraph: 4,
maxSentencesPerParagraph: 8,
minWordsPerSentence: 6,
maxWordsPerSentence: 16,
startWithLoremIpsum: true,
});
Both functions are pure (no DOM, no Umbraco dependencies), so they work in unit tests, build scripts, and seed-data tools too.
Development
This repo follows the same conventions as the official Umbraco package guide: Creating a package.
Prerequisites
- .NET 10 SDK
- Node.js 22+
- An Umbraco v14+ site for local testing (recommended: a throwaway
dotnet new umbracosite)
Build
# Build the frontend (Vite)
cd src/Umbraco.Community.TiptapLoremIpsum/Client
npm install
npm run build
# Pack the NuGet
cd ../../../
dotnet pack src/Umbraco.Community.TiptapLoremIpsum -c Release -o ./artifacts
The bundled output lands in src/Umbraco.Community.TiptapLoremIpsum/wwwroot/App_Plugins/UmbracoCommunity.TiptapLoremIpsum/umb-tiptap-lorem-ipsum.js and gets packed into the .nupkg as a static web asset.
Watch (during development)
cd src/Umbraco.Community.TiptapLoremIpsum/Client
npm run watch
Then symlink or copy the wwwroot/App_Plugins/UmbracoCommunity.TiptapLoremIpsum folder into your test Umbraco site's App_Plugins/ and refresh the backoffice. Or dotnet add package the local .nupkg.
Test the extension manually
- Run
npm run buildinClient/ - Copy
wwwroot/App_Plugins/UmbracoCommunity.TiptapLoremIpsuminto your test Umbraco site'sApp_Plugins/ - Restart the site
- Configure the toolbar (see Enable the toolbar button above)
- Edit a content node, click the button, confirm Lorem Ipsum appears in the RTE
Contributing
PRs welcome! See CLAUDE.md for a developer-friendly guide to the codebase โ it doubles as instructions for Claude Code or any other AI coding assistant working in this repo.
Quick contribution ideas:
- ๐ Other filler text styles (cat ipsum, hipster ipsum, bacon ipsumโฆ)
- ๐ A proper Umbraco modal instead of
window.prompt()for the Alt+click flow - ๐จ Custom toolbar element with a dropdown menu (1p / 3p / 5p / custom)
- โ๏ธ Config-driven defaults (read paragraph count from the Tiptap config in the data type)
- ๐งช Vitest unit tests for the generator
- ๐ฆ Umbraco Marketplace listing once stable
License
MIT ยฉ 2026 Marco Teodoro and Double Shore.
You're free to use this in commercial and non-commercial projects. Attribution is appreciated but not required.
Credits
Built with โค๏ธ for the Umbraco community. Inspired by classic Lorem Ipsum generators and the need to fill RTE fields with realistic content for migration testing, QA, and prototyping.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.