You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I put a into the modal box of the tiny editor on the moodle website, I clicked the middle of the input box, and it showed the cursor but I couldn't enter any text. But when I clicked the edge of the input box or the keyboard button or the menu button, it actually allowed me to enter. After it allowed me to enter, I let it lose focus again, and then clicked the middle of the input box again to let it get focus, and it actually worked.
Steps to Reproduce
Load the MathLive library from a CDN with a <script> tag on Moodle site. <script defer src="//unpkg.com/mathlive"></script>
Add a tag in the template file of a plugin in the tiny editor on Moodle site {{< core/modal }} {{$body}} <math-field class="w-100"></math-field> {{/body}} {{/ core/modal }}
Clear cache and open it .
Actual Behavior
When I put a into the modal box of the tiny editor on the moodle website, I clicked the middle of the input box, and it showed the cursor but I couldn't enter any text
Expected Behavior
How can I solve the problem of being able to enter text by clicking the middle of the input box when it is first loaded?
Environment
MathLive version 0.102.0.
Operating System _macOS.
Browser _Safari, Chrome, Edge, Firefox
The text was updated successfully, but these errors were encountered:
I don't have access to Moodle site. Is this a problem that can be reproduced with Moodle site? If not, could someone familiar with Moodle site and with access to it investigate this issue and isolate if this is a problem with MathLive or somewhere else?
I don't have access to Moodle site. Is this a problem that can be reproduced with Moodle site? If not, could someone familiar with Moodle site and with access to it investigate this issue and isolate if this is a problem with MathLive or somewhere else?
Yes , of course , I think the problem happend in mathlive and the modal box of Moodle, but it has not display any errors on the console .when I put mathlive on page of Moodle(not in modal box) ,its work.
Description
Steps to Reproduce
<script defer src="//unpkg.com/mathlive"></script>
{{< core/modal }} {{$body}} <math-field class="w-100"></math-field> {{/body}} {{/ core/modal }}
Actual Behavior
Expected Behavior
Environment
MathLive version 0.102.0.
Operating System _macOS.
Browser _Safari, Chrome, Edge, Firefox
The text was updated successfully, but these errors were encountered: