This commit is contained in:
Huong Nguyen 2024-03-08 10:12:47 +07:00
commit 826a3a2401
3 changed files with 17 additions and 13 deletions

View File

@ -1,3 +1,3 @@
define("tiny_html/common",["exports"],(function(_exports){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0;var _default={component:"tiny_html",pluginName:"".concat("tiny_html","/plugin"),codeMirrorStyle:"\n .modal-codemirror-container {\n position: absolute;\n top: 40px;\n bottom: 50px;\n left: 15px;\n right: 15px;\n overflow: scroll;\n border: 1px solid #c7cace;\n border-radius: 5px;\n }\n "};return _exports.default=_default,_exports.default}));
define("tiny_html/common",["exports"],(function(_exports){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0;var _default={component:"tiny_html",pluginName:"".concat("tiny_html","/plugin"),codeMirrorStyle:"\n .modal-codemirror-container {\n position: absolute;\n top: 40px;\n bottom: 50px;\n left: 15px;\n right: 15px;\n overflow: scroll;\n border: 1px solid #c7cace;\n border-radius: 5px;\n }\n .modal-codemirror-container {\n .cm-editor {\n height: 100%;\n }\n "};return _exports.default=_default,_exports.default}));
//# sourceMappingURL=common.min.js.map

View File

@ -1 +1 @@
{"version":3,"file":"common.min.js","sources":["../src/common.js"],"sourcesContent":["// This file is part of Moodle - https://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Moodle. If not, see <https://www.gnu.org/licenses/>.\n\n/**\n * Common values helper for the Moodle tiny_html plugin.\n *\n * @module tiny_html/common\n * @copyright 2023 Matt Porritt <matt.porritt@moodle.com>\n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\n\nconst component = 'tiny_html';\n\nexport default {\n component,\n pluginName: `${component}/plugin`,\n codeMirrorStyle: `\n .modal-codemirror-container {\n position: absolute;\n top: 40px;\n bottom: 50px;\n left: 15px;\n right: 15px;\n overflow: scroll;\n border: 1px solid #c7cace;\n border-radius: 5px;\n }\n `\n};\n"],"names":["component","pluginName","codeMirrorStyle"],"mappings":"uJAyBe,CACXA,UAHc,YAIdC,qBAJc,uBAKdC"}
{"version":3,"file":"common.min.js","sources":["../src/common.js"],"sourcesContent":["// This file is part of Moodle - https://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Moodle. If not, see <https://www.gnu.org/licenses/>.\n\n/**\n * Common values helper for the Moodle tiny_html plugin.\n *\n * @module tiny_html/common\n * @copyright 2023 Matt Porritt <matt.porritt@moodle.com>\n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\n\nconst component = 'tiny_html';\n\nexport default {\n component,\n pluginName: `${component}/plugin`,\n codeMirrorStyle: `\n .modal-codemirror-container {\n position: absolute;\n top: 40px;\n bottom: 50px;\n left: 15px;\n right: 15px;\n overflow: scroll;\n border: 1px solid #c7cace;\n border-radius: 5px;\n }\n .modal-codemirror-container {\n .cm-editor {\n height: 100%;\n }\n `,\n};\n"],"names":["component","pluginName","codeMirrorStyle"],"mappings":"uJAyBe,CACXA,UAHc,YAIdC,qBAJc,uBAKdC"}

View File

@ -37,5 +37,9 @@ export default {
border: 1px solid #c7cace;
border-radius: 5px;
}
`
.modal-codemirror-container {
.cm-editor {
height: 100%;
}
`,
};