Download the PHP package concrete5-community/dark_mode_editor without Composer

On this page you can find all versions of the php package concrete5-community/dark_mode_editor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dark_mode_editor

Tests

CKEditor Dark Mode Toggle

This package enhances the experience of the Rich Text Editor used by ConcreteCMS (CKEditor) by adding a dedicated toolbar button that allows editors to toggle the background of the editable content area between the default and a dark appearance.

Installation

Then, you have to log in to your ConcreteCMS website, go to the Extend Concrete > Add Functionality dashboard page, and install the package.

Usage

Once the package is installed, you can activate/deactivate the "Dark Mode Toggle" plugin in the System & Settings > Basics > Rich Text Editor dashboard page.

When the plugin is activated, you'll see a new icon (a circle split vertically into a white half and a black half) in the editor toolbar that, if clicked, lets you toggle the dark background.

Configuration

Bu default, the plugin will change the background color to black and the text color to white.

If you need to change these colors, you can create the file application/config/dark_mode_editor/options.php with some contents like this:

If you don't want to set the color of the text, you can assign an empty string to textColor:

Credits

This ConcreteCMS package was originally developed by blinkbox.


All versions of dark_mode_editor with dependencies

PHP Build Version
Package Version
Requires concrete5/core Version ^8.5.7 || ^9
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package concrete5-community/dark_mode_editor contains the following files

Loading the files please wait ...