• View
  • Changes
  • Options
  • Related
  • Edit
  • Table of Contents
    1. Examples
    2. How To
    3. Tips

    TinyMCE, the text editor we use for layout and styling, is extremely customizeable (e.g., you can change what appears in the edit toolbar). A lot of that customization can be done in Wagn itself.

     

    Examples

    Our *tinyMCE card has:

    theme_advanced_buttons1 : "formatselect,bold,italic,"

    The formatselect puts the style menu in our edit toolbar, and the others put the buttons for bold, italics, etc.:

    There's also a line on *tinyMCE that begins with:

    auto_resize : true,

    ...which is why there's a little resize icon at the lower right corner of edit boxes that you can click and drag to make them taller or shorter.

     

    How To

    Simply edit the *tinyMCE card to your heart's content (on your Wagn — here, you can only edit it if you have the role of Developers). See the TinyMCE configuration documentation and especially their button documentation to learn about everything that you can do.

     

    Tips

    You can separate very long lines contained in quotes by putting an endquote and starting a new line with a plus and opening the quote again. We use this trick in our *tinyMCE card to keep theme_advanced_buttons1 and extended_valid_elements from running off the right edge of the card:

     

    width: '100%', auto_resize : true, relative_urls: false, theme : "advanced", theme_advanced_buttons1 : "formatselect,bold,italic," + "separator,blockquote,bullist,numlist,hr," + "separator,undo,redo,code", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", theme_advanced_path : false, theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", ...

     
    Add +discussion
    Tickets relevant to TinyMCE

     

  • View
  • Changes
  • Options
  • Related
  • Edit
  • Documentation

    Support | Community

    Hosting and Consulting


    Download

     

    Request an account on Wagn.org

     

  • View
  • Changes
  • Options
  • Related
  • Edit
  • Wagn 1.0 Released!

     

    Wheeled by Wagn v. 1.3.0.