Persistent resize

Maintained by Andrew Rowatt
A TinyMCE editor plugin for Moodle that remembers the height of each editor instance between page loads.
Price option: Free

Supports Moodle 4.5 See all versions
Latest release: 5 months ago
Installations: 16
Downloads (last 90 days): 23

Frankenstyle name: tiny_persistentresize
TinyMCE

Description

When users resize the TinyMCE editor by dragging the resize handle, this plugin automatically saves the new height to the browser's IndexedDB. The next time the user visits a page with that same editor, it will be restored to their preferred height.

Each editor instance is tracked separately by its element ID, so users can have different preferred heights for different editors throughout Moodle.

Features

  • Automatically saves editor height when resized
  • Restores saved height on page load
  • Per-editor height preferences (different editors can have different heights)
  • Menu option to clear the saved height preference and reset to default
  • No server-side storage required (uses browser IndexedDB). Note this also means sizes are not sync'ed across browsers or devices. This is intentional.

Contributors