Moodle Plugins directory: WebService Filter for Atto (Moodle Mobile app) | Moodle.org
WebService Filter for Atto (Moodle Mobile app)
Introduction
This plugin makes it easier to include the WebService Filter plugin tags in the content while using the Atto editor. It will allows you to add a new button in the Atto toolbar to add these tags.
To Install it manually
- Unzip the plugin in the moodle .../lib/editor/atto/plugins/ directory.
- Enable it from "Site Administration >> Plugins >> Text editors >> Atto toolbar settings". You should include the "filterws" in the "Toolbar config".
How To Use it
Once enabled, a new button will appear in the toolbar of the Atto editor.
While creating/editing some content using the Atto 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:

We select the text we want to filter and click the button. A new popup window appears:
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:
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 plugins, go to "Site Administration > Plugins > Text editors > WebService Filter settings > Predefined filters".
Moodle 3.10.4: Tag for Web display in Web and and tag for Webservice not display in Web --> OK.
Moodle Desktop 3.9.2: Tag for Web still display in app and tag for Webservice not display in app --> Not OK.