import { html, css } from '@design.estate/dees-element'; import '@design.estate/dees-wcctools/demotools'; import './dees-panel.js'; export const demoFunc = () => html`
Welcome to the Rich Text Editor!

This is a feature-rich editor built with TipTap. You can:

  • Format text with various styles
  • Create different heading levels
  • Add links to external resources
  • Write inline code or code blocks

Use the toolbar above to explore all the formatting options available!

Start typing to see the magic happen...

'} .description=${'Use the toolbar to format your content with headings, lists, links, and more'} .showWordCount=${true} >
Installation Guide

To install the package, run the following command:

npm install @design.estate/dees-catalog

Then import the component in your TypeScript file:

import { DeesInputRichtext } from "@design.estate/dees-catalog";

You can now use the <dees-input-richtext> element in your templates.

'} .minHeight=${250} .showWordCount=${true} >
The Future of Web Components

Web Components have revolutionized how we build modern web applications...

"The future of web development lies in reusable, encapsulated components."

'} .disabled=${true} .showWordCount=${true} >
{ const output = document.querySelector('#output-preview'); if (output) { output.textContent = e.detail.value; } }} >
HTML output will appear here...
`;