Persistent resize

TinyMCE ::: tiny_persistentresize
Maintained by Andrew Rowatt
A TinyMCE editor plugin for Moodle that remembers the height of each editor instance between page loads.
Latest release:
7 downloads
1 fans
Current versions available: 1

When users resize the TinyMCE editor by dragging the resize handle, this plugin automatically saves the new height to the browser's localStorage. 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 localStorage). Note this also means sizes are not sync'ed across browsers or devices. This is intentional.

Screenshots

Screenshot #0

Contributors

Andrew Rowatt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

Show comments
Please login to post comments