Skip to content

Commit

Permalink
MDL-81123 tiny_html: Make empty codemirror region clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Mar 5, 2024
1 parent 994a21d commit b89e60a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion lib/editor/tiny/plugins/html/amd/build/common.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/editor/tiny/plugins/html/amd/build/common.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 15 additions & 11 deletions lib/editor/tiny/plugins/html/amd/src/common.js
Expand Up @@ -27,15 +27,19 @@ export default {
component,
pluginName: `${component}/plugin`,
codeMirrorStyle: `
.modal-codemirror-container {
position: absolute;
top: 40px;
bottom: 50px;
left: 15px;
right: 15px;
overflow: scroll;
border: 1px solid #c7cace;
border-radius: 5px;
}
`
.modal-codemirror-container {
position: absolute;
top: 40px;
bottom: 50px;
left: 15px;
right: 15px;
overflow: scroll;
border: 1px solid #c7cace;
border-radius: 5px;
}
.modal-codemirror-container {
.cm-editor {
height: 100%;
}
`,
};

0 comments on commit b89e60a

Please sign in to comment.