Persistent resize
- Moodle 4.5
- 更新 2026-01-27
A TinyMCE editor plugin for Moodle that remembers the height of each editor instance between page loads.
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.
- 1.1Moodle 4.5