Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2936

Implement custom new line behavior

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 1.7.1, 1.8 M1
    • 1.7 RC1
    • WYSIWYG Editor
    • None
    • any
    • new line wysiwyg gwt
    • Integration

    Description

      See the discussion http://xwiki.markmail.org/message/yyjs7kcwns2rltqa . We agreed on the following behavior:

      • 1 return key generates a line break (br)
      • 2 consecutive return keys generate a paragraph
      • for each consecutive return keys above 2 we'll generate a div with class wikimodel-emptyline (their purpose is to separate paragraphs)

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: