Skip to content

Commit

Permalink
fix(editor): add readonly class
Browse files Browse the repository at this point in the history
  • Loading branch information
JoomFX authored and joneff committed Jan 8, 2020
1 parent 236365a commit aca90d9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/default/scss/editor/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@
.k-toolbar {
overflow: visible;
}

&.k-readonly {
@include disabled;
> .k-content,
.k-editor-content {
pointer-events: auto;
}
}
}

// Reset styles if in sandbox mode
Expand Down

0 comments on commit aca90d9

Please sign in to comment.