Preview

TinyMCE ::: tiny_preview
Maintained by Daniel Thies
Preview editor content with Moodle text filters applied
Latest release:
717 sites
469 downloads
15 fans
Current versions available: 2

This plugin makes a preview button available to the Tiny editor.  When the button is pressed the content of the editor is passed through the filters enabled on the editing page and the result is displayed in a dialogue. Closing dialogue returns to original content.

Screenshots

Screenshot #0

Contributors

Daniel Thies (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Plugins bot
    Wed, Feb 22, 2023, 10:20 PM
    Approval issue created: CONTRIB-9216
  • Adrian G
    Sun, Mar 19, 2023, 6:06 PM
    Very useful plugin. However, I would not do it using a modal but rather, live in a two-column layout of the editor. User will press a button to enable/disable preview. This will switch one/two column layout with live preview in the right(left?) container (according with HTML dir attribute).
  • Neil Stapleton
    Fri, Apr 28, 2023, 1:02 AM
    Great plugin concept and very much needed as we use a lot of filter and a wysiwyg view is very much needed.

    I kind of agree with the previous comment about the modal, I feel the same about the view, which is also a modal. It would be better if both were overlays at the size of the editor, or fullscreen if in fullscreen mode. This is partly because that's what we arte used to form Atto, and partly just to maximise screen real-estate.

    Will aim to raise git issues when I have time.

    Thanks for putting this together Daniel.
  • Daniel Thies
    Sun, Apr 30, 2023, 1:24 AM
    Thanks Neil and Adrian for the feedback. There is a potential performance problem with the updating in real time. The filters have to be run on the server rather than the client which may cause a problem if a large number of people are editing at once.
  • Veronika Novotná
    Mon, Oct 9, 2023, 6:24 PM
    Hi, this is a great plugin! We are looking for similar plugin for plaintext editor ->markdown format. Do you know about something similar or are you planning to make one? Thanks for the reply? Anyway, great work on this one!
  • Helen Foster
    Fri, Nov 24, 2023, 9:03 PM
    Veronika, a similar plugin which provides a preview when using markdown format is Marklar, https://moodle.org/plugins/editor_marklar It's installed on moodle.org - you can try it out by setting Marklar as your text editor in your editor preferences.
Please login to post comments