Preview plugin for Moodle 4.1 Tiny editor

Preview plugin for Moodle 4.1 Tiny editor

by Daniel Thies -
Number of replies: 1
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of 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.

Average of ratings:Useful (6)