Skip to content

Commit

Permalink
Fix: bubble theme and docs (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertSt7 authored Dec 9, 2024
1 parent 09ea289 commit fb462e3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,14 @@ The following code customize the toolbar.
```twig
<section id="marked-content">
{{ pimcore_wysiwyg("specialContent", {
toolbar: [{ 'header': 1 }, { 'header': 2 }]
})
modules: {
toolbar: {
container: [
[{ header: [1, 2, 3, 4, 5, 6, false] }]
]
}
}
})
}}
</section>
```
Expand All @@ -42,8 +48,14 @@ If you have to limit styling options (for example only basic styles like `<b>` t
```twig
<section id="marked-content">
{{ pimcore_wysiwyg("specialContent", {
toolbar: [{ 'header': 1 }, { 'header': 2 }]
})
modules: {
toolbar: {
container: [
[{ header: [1, 2, 3, 4, 5, 6, false] }]
]
}
}
})
}}
</section>
```
Expand Down
1 change: 1 addition & 0 deletions src/PimcoreQuillBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public function getCssPaths(): array
return [
'/bundles/pimcorequill/css/editor.css',
'/bundles/pimcorequill/quill/quill.snow.css',
'/bundles/pimcorequill/quill/quill.bubble.css',
'/bundles/pimcorequill/quill-table-better/quill-table-better.css',
];
}
Expand Down

0 comments on commit fb462e3

Please sign in to comment.