diff --git a/ts_web/elements/dees-input-wysiwyg.demo.ts b/ts_web/elements/dees-input-wysiwyg.demo.ts index cdc84ca..2ad06d2 100644 --- a/ts_web/elements/dees-input-wysiwyg.demo.ts +++ b/ts_web/elements/dees-input-wysiwyg.demo.ts @@ -301,35 +301,11 @@ export const demoFunc = () => html` margin: 0 auto; } - .demo-section { - background: #f8f9fa; - border-radius: 12px; - padding: 32px; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); + dees-panel { + margin-bottom: 32px; } - @media (prefers-color-scheme: dark) { - .demo-section { - background: #1a1a1a; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); - } - } - - .demo-section h3 { - margin-top: 0; - margin-bottom: 20px; - color: #0066cc; - font-size: 20px; - font-weight: 600; - } - - @media (prefers-color-scheme: dark) { - .demo-section h3 { - color: #4d94ff; - } - } - - .demo-section p { + dees-panel p { margin-top: 0; margin-bottom: 24px; color: #666; @@ -338,7 +314,7 @@ export const demoFunc = () => html` } @media (prefers-color-scheme: dark) { - .demo-section p { + dees-panel p { color: #999; } } @@ -448,8 +424,7 @@ export const demoFunc = () => html`
A powerful block-based editor with slash commands, keyboard shortcuts, and multiple output formats. Perfect for content creation, blog posts, documentation, and more.
Perfect for creating rich content with multiple block types. The editor preserves formatting and provides a clean editing experience.
This is an example blog post that demonstrates the capabilities of our WYSIWYG editor.
Our editor supports multiple block types including headings, paragraphs, quotes, and more.
The best way to predict the future is to invent it.
You can also create lists and code blocks for technical content.
'} .outputFormat=${'html'} >Easily rearrange your content blocks by dragging them. Hover over any block to reveal the drag handle on the left side.
Create comprehensive tutorials and documentation with code examples, lists, and structured content.
Choose between HTML and Markdown output formats depending on your needs. Perfect for static site generators, documentation systems, or any content management workflow.
Date: December 15, 2024
Attendees: Product Team, Engineering, Design
"Focus on user experience improvements based on Q3 feedback" - Product Manager
Next meeting: January 5, 2025
'} + .value=${'Date: December 15, 2024
Attendees: Product Team, Engineering, Design
"Focus on user experience improvements based on Q3 feedback" - Product Manager
Next meeting: January 5, 2025
'} >Create complex documents with mixed content types. The editor handles all formatting seamlessly.
Welcome to our API documentation. Below you\'ll find examples of how to use our endpoints.
All API requests require authentication using an API key:
Authorization: Bearer YOUR_API_KEY
Retrieve a list of users from the system.
curl -X GET https://api.example.com/users \\\n -H "Authorization: Bearer YOUR_API_KEY"
Note: Rate limiting applies to all endpoints. You can make up to 100 requests per minute.
Create a new user in the system.
{\n "name": "John Doe",\n "email": "john@example.com",\n "role": "user"\n}
For more information, please refer to our complete documentation.
'} + .value=${'Welcome to our API documentation. Below you\'ll find examples of how to use our endpoints.
All API requests require authentication using an API key:
Authorization: Bearer YOUR_API_KEY
Retrieve a list of users from the system.
curl -X GET https://api.example.com/users \\\n -H "Authorization: Bearer YOUR_API_KEY"
Note: Rate limiting applies to all endpoints. You can make up to 100 requests per minute.
Create a new user in the system.
{\n "name": "John Doe",\n "email": "john@example.com",\n "role": "user"\n}
For more information, please refer to our complete documentation.
'} .outputFormat=${'html'} >Seamlessly integrates with dees-form for complete form solutions. All standard form features like validation, required fields, and data binding work out of the box.
Create content programmatically using the block API for dynamic document generation.
The WYSIWYG editor provides multiple export formats and lossless save/restore capabilities for maximum flexibility.