Skip to content

Commit 72cddb1

Browse files
committed
fix: props.toolbar
1 parent b68c74a commit 72cddb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/QuillEditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default defineComponent({
124124
clientOptions.readOnly = props.readOnly
125125
if (props.placeholder)
126126
clientOptions.placeholder = props.placeholder
127-
if (props.theme && props.theme !== "") {
127+
if (props.toolbar && props.toolbar !== "") {
128128
clientOptions.modules = {
129129
toolbar: (() => {
130130
if (typeof props.toolbar === "object") {

0 commit comments

Comments
 (0)