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

Copy pasting from simple text editor does not create paragraphs

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • None
    • 1.8.4, 1.9 RC1
    • WYSIWYG Editor
    • None
    • Hard

    Description

      If I write text in notepad, leaving blank lines between paragraphs, copy-paste it in the editor, select a line and make it a title I get the entire content as a title. I would expect only the selected line to become a title. The underlying issue is that the whole content is pasted in one single paragraph in the WYSIWYG.

      This issue is hard to fix as it requires that the content from the clipboard gets intercepted and modified in javascript before getting pasted in the WYSIWYG textarea. A workaround starting from XE 1.9 is to use the Source tab of the rich text editor to paste such content.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: