IPPC Design Docs / Text Editor

Text Editing System for www.ippc.int

Last updated: Thursday, 24 November 2011 at 13:38:05

Simple, lightweight HTML editor (WMD) for writing on webpages using Markdown syntax.

The idea is to save content to two table columns in the database in order to reduce complexity and improve performance:

  1. The Markdown content entered by the user (displayed on page textareas on page editing views) - content_markdown table in db
  2. The converted HTML (displayed on public page views) - content_html table in db
Markdown (save to content_markdown table in database)
Rendered HTML Preview
Generated raw HTML (save to content_html table in database)