• Home
  • Try it
  • Download
  • Documentation
  • Enterprise
  • Develop
  • Forum
Welcome Guest! Login or Register
Version: 3.5.0.1 Headerimage

Get your own copy

Don't hesitate! Just download and test it all by yourself for free!

  • You are here:
  • TinyMCE
  • Reference
  • Configuration
  • Cleanup/Output
  • preformatted
  • History
  • New wiki page

preformatted

  • Edit wiki page
  • Page revisions
  • Print

If you enable this feature, whitespace such as tabs and spaces will be preserved. Much like the behavior of a <pre> element. This can be handy when integrating TinyMCE with webmail clients. This option is disabled by default.

Example of usage of the preformatted option:

tinyMCE.init({
...
preformatted : true
});
  • TinyMCE
    • Security
    • "For Dummies"
    • Accessibility
    • Browser compatiblity
    • Compressors
    • Customization
    • How-tos
    • Installation
    • Language
    • License
    • Reference
      • Plugins
      • Buttons/controls
      • Command identifiers
      • Configuration
        • Advanced theme
        • Callbacks
        • Cleanup/Output
          • apply_source_formatting
          • convert_fonts_to_spans
          • convert_newlines_to_brs
          • custom_elements
          • doctype
          • element_format
          • encoding
          • entities
          • entity_encoding
          • extended_valid_elements
          • fix_list_elements
          • font_size_classes
          • font_size_style_values
          • forced_root_block
          • force_br_newlines
          • force_hex_style_colors
          • force_p_newlines
          • formats
          • indentation
          • inline_styles
          • invalid_elements
          • preformatted
          • protect
          • remove_linebreaks
          • schema
          • style_formats
          • valid_children
          • valid_elements
          • verify_css_classes
          • verify_html
        • File_lists
        • General
        • Layout
        • Triggers/Patches
        • Undo/Redo
        • URL
        • Visual aid
      • Deprecated Configuration Options
      • jQuery Plugin
    • Software using TinyMCE
  • TinyMCE FAQ
  • TinyMCE API 3.x
  • MCImageManager
  • MCFileManager

Search

Search documentation.

Search

Need support?

If you need support, premium support is provided by our partners.

ask question
Back to site top

Provided for developers anywhere, everywhere, anytime and with any content.

  • Try it
  • Download
  • Documentation
  • Enterprise
  • Develop
  • Forum
Moxiecode

© 2003-2012 Moxiecode Systems AB.
All rights Reserved.
By being on this site, you allow cookies to be used.