Opal
Feature #129
Wysiwyg Editor
| Status: | Closed | Start: | 03/08/2010 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 100% |
|
| Category: | - | Spent time: | 6.00 hours | |
| Target version: | 0.3.3 | |||
Description
We should add a wysiwyg editor for different things in opal(like pages, Item Descriptions, and more). For security problems, use Sanitize to scrub new html for bad tags like <form, <script, etc.
History
Updated by Dave Hulihan 133 days ago
Added TinyMCE Plugin, it is now active for All Pages in the Admin Area. Next Up: Add Wysiwyg Functionality to Item Descriptions.
Updated by Dave Hulihan 132 days ago
I Also implemented Sanitize gem to clean up any malicious code a user might enter into the Wysiwyg editor.
All allowed HTML tags are stored in config/whitelist_html.yml, so if you want to enable/disable certain HTML elements or attributes, to you can do so by editing this file. Customizable HTML sanitation is pretty cool, eh?
Updated by Dave Hulihan 132 days ago
Next Up: Testing TinyMCE against Sanitize! If Sanitize eliminates a desired feature, we can add the appropriate HTML tag, element, or attribute to the HTML whitelist(config/whitelist_html.yml) so it will not be sanitized.
Updated by Dave Hulihan 132 days ago
- % Done changed from 0 to 50
Done Tuning Sanitize to match TinyMCE.
Updated by Dave Hulihan 132 days ago
Next Up: Add custom Image selection to TinyMCE so users can select images to post on Pages and Item Descriptions.
- Update: I'm going to hold off on this one for a later release.
Updated by Dave Hulihan 132 days ago
- % Done changed from 50 to 100
Everything Looks good. TinyMCE and Sanitize are playing together nicely.




