Search code examples
jqueryredactor

Redactor wysiwyg - why does paste from word not working


I've been using the Redactor Wysiwyg editor on a job post form. However, though their website mentions super cleaning on paste from word, I get a lot of extra empty <p> and <br />, even though in the word markup there is a single paragraph break. Any ideas what might be causing that? Anybody else has the same problem?

Thanks! Maria


Solution

  • You need to set paragraphy and linebreaks settings like this :

    $('#redactor').redactor({
        linebreaks: true,
        paragraphy: false
    });