Skip to content

Commit

Permalink
fix: props.toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
luthfimasruri committed Mar 18, 2021
1 parent b68c74a commit 72cddb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/QuillEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default defineComponent({
clientOptions.readOnly = props.readOnly
if (props.placeholder)
clientOptions.placeholder = props.placeholder
if (props.theme && props.theme !== "") {
if (props.toolbar && props.toolbar !== "") {
clientOptions.modules = {
toolbar: (() => {
if (typeof props.toolbar === "object") {
Expand Down

0 comments on commit 72cddb1

Please sign in to comment.