Hulihan Applications
about projects portfolio services contact_us

Feature #129

avatar

Wysiwyg Editor

Added by Dave Hulihan 145 days ago. Updated 132 days ago.

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 144 days ago

avatar
  • Target version set to 0.3.3

Updated by Dave Hulihan 133 days ago

avatar

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

avatar

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

avatar

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

avatar
  • % Done changed from 0 to 50

Done Tuning Sanitize to match TinyMCE.

Updated by Dave Hulihan 132 days ago

avatar

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

avatar
  • % Done changed from 50 to 100

Everything Looks good. TinyMCE and Sanitize are playing together nicely.

Updated by Dave Hulihan 132 days ago

avatar
  • Status changed from New to Closed

Also available in: Atom PDF



Hulihan Applications © 2007-2009
No portion of this site may be copied, altered, duplicated or otherwise used without the express written approval of Hulihan Applications.