WebService Filter for TinyMCE

TinyMCE ::: tiny_filterws
Maintained by Dani Palou
This plugin makes it easier to include the WebService filter tags in the content while using the TinyMCE editor. It will add a new button in the TinyMCE toolbar (and also a new option in the Insert menu) to add these tags.
Latest release:
61 sites
5 downloads
Current versions available: 1

Introduction

This plugin makes it easier to include the WebService filter tags in the content while using the TinyMCE editor. It will add a new button in the TinyMCE toolbar (and also a new option in the Insert menu) to add these tags.

To install it manually

- Unzip the plugin in the moodle .../lib/editor/tiny/plugins/ directory.

How to use it

Once enabled, a new button will appear in the toolbar of the Tiny editor. A new option will also appear in the Insert menu.

While creating/editing some content using the TinyMCE editor, select the text to filter and click the "WS" button. In the popup window, select the Origin and the User Agent (optional) you want to apply to the filter. Click "Insert" and the tags will be added to the content.

Example: In the following image we have some content that we want to filter. As you can see, a new button was added to the toolbar:

Image displaying the toolbar button.

We select the text we want to filter and click the button. A new popup window appears:

Popup displayed when clicking the button.

We select the options we want (in this case, Web and no User Agent) and click Insert. This will add the tags to the content, as you can see in the following screenshot:

Result of applying the filter.

Predefined filters

The site admin can create some predefined filters that users will be able to apply, that way they don't need to remember the Origin and User Agent to apply. By default, this plugin includes a predefined filter to display some content in the official Moodle app.

To define these predefined filters, go to "Site Administration >> Plugins >> Text editors >> WebService Filter settings >> Predefined filters".

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Dani Palou (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
Please login to post comments