jmulet / moodle-tiny_codepro

An improved code editor for tinyMCE based on codeMirror6
GNU General Public License v3.0
2 stars 3 forks source link

Wrong area target to insert htmlcode #10

Open moodleulpgc opened 3 weeks ago

moodleulpgc commented 3 weeks ago

When a page display several HTML areas, and the user edits content with source code pro in the popup the new content is not inserted in the area where source code tool has been invoked.

Once one area in edited, then edition of the other areas will insert the content into the first one edited NOT into the area where tool is invoked. This result in content moving to other areas in the same page, and overwriting (and losing) the edited content.

Working with moodle 4.4 and 4.5 dev

jmulet commented 3 weeks ago

Hi @moodleulpgc,

Thank you very much for reporting this issue, and I apologize for any inconvenience it may have caused. I have identified the problem and have addressed it in the latest update. The fix is included in the current version 1.1.2 (2024082502). The plugin has been tested up to Moodle 4.4.

If you encounter any further problems or have any other feedback, please don't hesitate to comment.

Best wishes, Josep