Preview plugin for Moodle 4.1 Tiny editor

Preview plugin for Moodle 4.1 Tiny editor

Daniel Thies -
回帖数:1
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像

Hello everyone,

I have created a preview plugin for the Tiny editor which was introduced in Moodle 4.1. The plugin is analogous to the Atto Toggle Preview plugin that I maintain. This plugin adds a button and menu item that filters the editor content with all the filters enabled in the editor context and displays the result in a modal. It enables the user to see how text might appear without having to save the form.

The Atto plugin displays the content in an iframe with header and footer instead of in a modal. Unfortunately, I do not remember why. I would be grateful for any contents.

平均分:Useful (6)