Download the PHP package seppzzz/html-editor-scroll without Composer
On this page you can find all versions of the php package seppzzz/html-editor-scroll. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download seppzzz/html-editor-scroll
More information about seppzzz/html-editor-scroll
Files in seppzzz/html-editor-scroll
Package html-editor-scroll
Short Description Provides a Silverstripe TinyMCE plugin that records the last scrolled or edited position in the HTML editor field. This is especially useful for editing long content, preventing the need to search and scroll to your previous position after saving.
License BSD-3-Clause
Informations about the package html-editor-scroll
SilverStripe HTMLEditor Scroll Plugin
This Silverstripe TinyMCE plugin records the last scrolled or edited position within the HTML editor field, ensuring that when editing long content, you are automatically returned to your previous position. This prevents the need to manually search and scroll back after saving. Without this plugin, the editor typically resets to the top of the content after each save. Additionally, the plugin adds a "Scroll-To-Top" button to the TinyMCE toolbar for quick navigation to the top of the content.
Requirements
SilverStripe 4 PHP 7.4 or higher
For Silverstripe 5.x use the silverstripe_5 - branch.
Installation
You can install the module via Composer:
Alternatively, you can download the .zip file
from GitHub, extract it, rename the extracted folder to html-editor-scroll
,
and copy it to your vendor/seppzzz/
directory.
After installation, run the following commands to rebuild your SilverStripe project and expose the necessary assets:
Documentation
By default, every HTMLEditorField
uses the default TinyMCEConfig cms
. To enable this plugin for a custom TinyMCEConfig, add the following code to your SilverStripe configuration:
All versions of html-editor-scroll with dependencies
silverstripe/recipe-cms Version ^5.0
silverstripe/login-forms Version ^5.0
php Version ^8.0