1.2releasedPreview Textarea

Generates a live preview lightbox of the formatted version of a textarea while editing an entry.

Clone URLhttps://github.com/tachyondecay/preview_textarea.git

Add as a submodulegit submodule add https://github.com/tachyondecay/preview_textarea.git extensions/preview_textarea --recursive

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.02.6.12.6.22.6.32.6.42.6.52.6.62.6.72.6.82.6.92.6.102.6.11
NoNo1.0.01.1No1.21.21.21.21.21.21.21.21.21.21.21.21.2

Readme

Preview Textarea

Generates a live preview lightbox of the formatted version of a textarea while editing an entry.

I've tested this extension with Symphony's default textarea field as well as Rowan's text box field. If you encounter issues with other textarea fields, please let me know.

Installation & Use

You can always install the latest version through git: git clone git://github.com/tachyondecay/preview_textarea.git

  • Make sure that the extension is in a folder named preview_textarea. Upload this to your Symphony extensions folder.
  • Enable the extension from the Extensions page in the Symphony backend.
  • On the publishing page for a section, textareas will now have a Preview link next to their labels. This link will generate a formatted version of the textarea's content and display it as a preview lightbox.

If you want to change the styling on the preview, edit assets/preview_textarea.user.css and add your own styles.

Changelog

1.2 (January 23, 2015)

  • Compatible with Symphony 2.5 and 2.6. No longer compatible with Symphony 2.4 or earlier.
  • Now uses JSONPage in the backend.

1.1.1 (August 26, 2012)

  • #6: JS error caused by unexpected DOM manipulation from other extensions.

1.1 (May 9, 2012)

  • Extension now uses the static TextFormatterManager available as of Symphony 2.3. No longer compatible with Symphony 2.2.x.

1.0.3 (December 28, 2011)

  • #5: Users can override the lightbox's default styling by editing a custom CSS file.

1.0.2 (August 20, 2011)

  • #3: Changed jQuery selector to work with 'MarkItUp' enhanced fields. (Thanks to @henrysingleton)

1.0.1 (August 19, 2011)

  • #2: Override some of the backend styles for the preview box.

1.0 (August 16, 2011)

  • Initial release.

Version history

Symphony 2.5 to 2.6.x

  • Compatible with Symphony 2.5 and 2.6. No longer compatible with Symphony 2.4 or earlier.
  • Now uses JSONPage in the backend.

Works up to Symphony 2.4.x

  • #6: JS error caused by unexpected DOM manipulation from other extensions.

Requires Symphony 2.3

  • Extension now uses the static TextFormatterManager available as of Symphony 2.3.
  • #5: Users can override the lightbox's default styling by editing a custom CSS file.
  • #3: Changed jQuery selector to work with 'MarkItUp' enhanced fields. (Thanks to @henrysingleton)
  • #2: Override some of the backend styles for the preview box.

Symphony 2.2 to 2.3.x