PBworks User Manual

 

HTMLJSDetails

Page history last edited by Steven @ PBworks 7 mos ago


 

Description

The HTML/JavaScript plugin is a new plugin that allows administrators more control over the content of their wiki. This manual section will show you how to use the plugin, what the different error messages mean, and how to resolve them.

 

NOTE: There is a limit of 1030 character in this plugin - if your Javascript or CSS is longer then that please look into putting them into .js or .css files.

How to create an external .js file?

How to create an external .css file?

 

For Administrators

This is how the HTML/JavaScript plugin will appear for Administrators on a workspace.

By default, the "Allow potentially unsafe code" box will be unchecked. If an Admin has this box checked, they can include both safe and unsafe codes (please be careful about what you use on your workspace!). If this box is checked, non-admins cannot change the contents of the plugin.

 

For Editors and Writers

This is how the HTML/JavaScript plugin will appear for Editors or Writers on a workspace.


Warning Messages

 

Non-Admin tries to include Javascript

If a writer or an editor tries to include JavaScript on a plugin, they will see an error message that lets them know only Administrators can include this content.

 

Non-admin tries to edit an existing code plugin that has filtering disabled

If the "Allow potentially unsafe code" check box is checked, non-admins will see this message if they try to edit the plugin.


Tampering by non-admins

 

View mode

In view mode, a plugin that has been tampered with will show up as a broken puzzle piece icon that offers explanatory text when it's clicked on:

 

Edit mode

In edit mode, a plugin that has been tampered with will show up with an error icon. If an admin edits the plugin and saves it again, it will fix the broken signature and make the plugin work again.