Skip to content

About

Find, preview and insert FilterCodes in the Moodle TinyMCE editor.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

FilterCode Picker

FilterCode Picker for TinyMCE

Find and insert FilterCodes while editing Moodle content in TinyMCE. The picker lists 198 entries and shows a preview when the code can be evaluated in the current course or activity.

Screenshots
Browse the course codes Preview formatted text
Course name preview in the FilterCode Picker Keyboard formatting preview in the FilterCode Picker

Installation

  1. Install FilterCodes 3.1.0 or later. Enable the filter where you want to use the picker.
  2. Upload the installation ZIP under Site administration → Plugins → Install plugins. For a manual installation, place the filtercodepicker directory under lib/editor/tiny/plugins/ in Moodle's web root and run the Moodle upgrade.
  3. In TinyMCE, click the bracket icon in the toolbar or choose Insert → Insert FilterCode.

Using the picker

Search by tag name or browse a category. The badges show how many codes each category contains. Select a result to read its description, check the exact code and see a preview where available. Tags that need more input or depend on the final page show an explanation.

To wrap existing text in a pair of tags, select it before opening the picker. The selection keeps its formatting. If you open the picker without a selection, paired tags include example text you can replace.

Michael Milette's FilterCodes filter processes the tags when Moodle displays the content.

Compatibility and permissions

Supports Moodle 4.5 through 5.3. The picker requires the tiny/filtercodepicker:use capability. Editing teachers and managers have it by default in their assigned contexts.

Support

Use the issue tracker to report a problem. Include your Moodle and FilterCodes versions, the active theme and the steps to reproduce it.

License

Available free of charge under the terms of the applicable license. See LICENSE.txt for the GNU General Public License v3.0 or later.

About

Find, preview and insert FilterCodes in the Moodle TinyMCE editor.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages