totara / weka-marquee-plugin-example

Example plugin for the Weka editor
0 stars 0 forks source link

Weka editor example plugin

This repository contains an example plugin adding <marquee> support to the Weka editor.

Implementation

This repository contains three components:

Licensing

The /server/theme/ portion is licensed under GPLv3, while the /client/component/ portion has a proprietary license - please see relevant file headers for detail.

Installation

Copy the following directories into your Totara 17+ installation:

E.g. with rsync:

rsync -avz --delete client/component/weka_marquee/ /path/to/totara/client/component/weka_marquee/
rsync -avz --delete server/lib/editor/weka/extensions/marquee/ /path/to/totara/server/lib/editor/weka/extensions/marquee/
rsync -avz --delete server/text_format/json_editor/extensions/marquee/ /path/to/totara/server/text_format/json_editor/extensions/marquee/

The build files for the frontend are not committed, so build it with npm run tui-build weka_marquee after copying into a Totara install.