⚠️ Important: This page intentionally does NOT include Bootstrap Icons or Font Awesome CSS in the <head>. The editor will automatically inject these stylesheets when you open the icon modal, ensuring icons render properly!
This editor uses default settings with auto CSS injection enabled.
Test: Click the ⭐ icon button. The Bootstrap Icons and Font Awesome CSS should be automatically injected, and icons should render properly in the modal.
This editor is configured to auto-inject only Bootstrap Icons CSS.
This editor is configured to auto-inject only Font Awesome CSS.
This editor has auto CSS injection disabled. Icons will appear as text in the modal.
The QuillKit now automatically injects the required icon library CSS when you open the icon modal:
autoLoadCss: false to disable auto-injectionbootstrapCdn and fontAwesomeCdn optionsconst editor = QuillKit.init('#my-editor', {
icons: {
enabled: true,
bootstrap: true,
fontAwesome: true,
autoLoadCss: true, // Auto-inject CSS (default: true)
bootstrapCdn: 'https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css',
fontAwesomeCdn: 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css'
}
});