Skip to content

Commit

Permalink
fix: editor readonly bug (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
elf-mouse committed Jun 15, 2023
1 parent 9e549c5 commit f868c62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/components/editor/quill/editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ function getToolbar() {
}
function getOptions(counterEl) {
const { placeholder, readOnly, theme } = props;
const { placeholder, readonly, theme } = props;
const defaultOptions = {
modules: {},
placeholder,
readOnly,
readOnly: readonly,
theme
};
let options = Object.assign(defaultOptions, props.options);
Expand Down

0 comments on commit f868c62

Please sign in to comment.