QuillKit Docs

Examples & Demos

Explore interactive examples and demonstrations of QuillKit features.

⚠️ API Key Required

All examples require a valid API key. The demo pages use a demo API key. For your own projects, you'll need to obtain an API key from the QuillKit service.

Interactive Playground: Try out all features in our live playground.

Feature Demos

Focused demonstrations of specific editor features:

Examples Directory

Complete examples showcasing different use cases:

Test Pages

Test pages for specific features and bug fixes:

Math & LaTeX Tests

Table Tests

Column Layout Tests

Icon Tests

Font & Formatting Tests

List Tests

Other Tests

Code Examples

Basic Initialization

// Simple initialization with API key
const editor = QuillKit.init('#my-editor', {
    apiKey: 'your_api_key_here'  // Required
});

With Custom Options

const editor = QuillKit.init('#my-editor', {
    apiKey: 'your_api_key_here',  // Required
    toolbar: true,
    height: '600px',
    mathSupport: true,
    mathFontSize: '20pt',
    pageView: true
});

Loading Specific Plugins

const editor = QuillKit.init('#my-editor', {
    apiKey: 'your_api_key_here',  // Required
    plugins: [
        'textFormatting',
        'alignment',
        'list',
        'history'
    ]
});

Managing Multiple Editors

// Initialize multiple editors
QuillKit.init('#editor-1', { apiKey: 'your_api_key_here' });
QuillKit.init('#editor-2', { apiKey: 'your_api_key_here' });

// Get all instances
const editors = QuillKit.getAllInstances();
console.log(`Total editors: ${editors.length}`);

// Get specific instance
const editor1 = QuillKit.getInstance('editor-1');
console.log(editor1.getValue());

Next Steps