diff --git a/lib/editor/tiny/plugins/html/amd/build/common.min.js b/lib/editor/tiny/plugins/html/amd/build/common.min.js index 1b81857a5bcf1..0e6d2b8fa4c13 100644 --- a/lib/editor/tiny/plugins/html/amd/build/common.min.js +++ b/lib/editor/tiny/plugins/html/amd/build/common.min.js @@ -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 \ No newline at end of file diff --git a/lib/editor/tiny/plugins/html/amd/build/common.min.js.map b/lib/editor/tiny/plugins/html/amd/build/common.min.js.map index a40f3f84414d5..84c0cabc7f480 100644 --- a/lib/editor/tiny/plugins/html/amd/build/common.min.js.map +++ b/lib/editor/tiny/plugins/html/amd/build/common.min.js.map @@ -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 .\n\n/**\n * Common values helper for the Moodle tiny_html plugin.\n *\n * @module tiny_html/common\n * @copyright 2023 Matt Porritt \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"} \ No newline at end of file +{"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 .\n\n/**\n * Common values helper for the Moodle tiny_html plugin.\n *\n * @module tiny_html/common\n * @copyright 2023 Matt Porritt \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"} \ No newline at end of file diff --git a/lib/editor/tiny/plugins/html/amd/src/common.js b/lib/editor/tiny/plugins/html/amd/src/common.js index 72c5fdb932318..218eda4276f43 100644 --- a/lib/editor/tiny/plugins/html/amd/src/common.js +++ b/lib/editor/tiny/plugins/html/amd/src/common.js @@ -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%; + } + `, };