AutorÃa | Ultima modificación | Ver Log |
{{!This file is part of Moodle - http://moodle.org/Moodle is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.Moodle is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with Moodle. If not, see <http://www.gnu.org/licenses/>.}}{{!@template tiny_aiplacement/modalbodytextModal to manage AI generated text content within the Tiny Editor.Classes required for JS:* noneData attributes required for JS:* noneContext variables required for this template:* elementid: The id of the element that will be used to create the modal.Example context (json):{"elementid": "exampleId"}}}<div id="{{elementid}}_tiny_aiplacement_blur"><div id="{{elementid}}_tiny_aiplacement_overlay" class="tiny-aiplacement-overlay hidden"></div><div class="container"><div class="row justify-content-md-center"><div class="col-md-4"><label for="{{elementid}}_tiny_aiplacement_textprompt" class="fw-bold">{{#str}} textprompt_label, tiny_aiplacement {{/str}}</label><textareaclass="form-control"id="{{elementid}}_tiny_aiplacement_textprompt"autocomplete="off"rows="12"></textarea></div><div class="col-md-8"><div id="{{elementid}}_tiny_aiplacement_generate_text" class="tiny-aiplacement-generate-text text-center mt-3 mt-lg-0"><div class="tiny-aiplacement-fa-text"></div></div></div></div></div></div>