Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9817 closed enhancement (fixed)

[PATCH][CCLA]Contribute a 'PrettyPrint' Plugin for Editor that makes the output of editor.getValue better formatted.

Reported by: Jared Jurkiewicz Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.4
Component: Editor Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description

Contribute a 'PrettyPrint?' Plugin for Editor that makes the output of editor.getValue better formatted.

In general, the editor getValue() output is pretty nasty. It's hard to read and not very consistent across browsers. With the addition of the functions in:

http://bugs.dojotoolkit.org/ticket/9807

It becomes fairly trivial to provide a plugin that cleans up the formatting of the HTML provided by the editor.

I have an implementation, I just need to write up a testcase for it.

Attachments (1)

PrettyPrint.patch (20.4 KB) - added by Jared Jurkiewicz 10 years ago.
A prettyprint plugin to handle formatting editor output nicely.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by Jared Jurkiewicz

Attachment: PrettyPrint.patch added

A prettyprint plugin to handle formatting editor output nicely.

comment:1 Changed 10 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

(In [20006]) Adding in PrettyPrint? plugin. Tested on: FF2, FF3, FF3.5, IE8, IE7, IE6, Safari 3.2.3, Google Chrome 2.0, and Opera 9.6 fixes #9817

comment:2 Changed 10 years ago by Jared Jurkiewicz

Milestone: tbd1.4
Summary: Contribute a 'PrettyPrint' Plugin for Editor that makes the output of editor.getValue better formatted.[PATCH][CCLA]Contribute a 'PrettyPrint' Plugin for Editor that makes the output of editor.getValue better formatted.
Note: See TracTickets for help on using tickets.