Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jamie Waterhouse 1 post 21 karma points
    Feb 17, 2010 @ 18:42
    Jamie Waterhouse
    0

    Double line spacing issues

    Apologies if this has been covered before but I couldn't find any threads on a quick search of this forum.

    I would be grateful if anyone knows of any tools or shortcuts which can remove double line spacing when columns of text are pasted into Umbraco from PDF files. Our content management team currently have to spend many hours manually removing unnecessary line breaks when text is pasted into the CMS so any solutions would be greatly appreciated.

    Thanks

    Jamie

  • dandrayne 1138 posts 2262 karma points
    Feb 17, 2010 @ 19:01
    dandrayne
    2

    I think you're always going to have a problem when pasting from PDFs into tinyMCE.  I can't find any tinyMCE plugins related to this, and it's not something I've seen before.  Perhaps converting the pdf to html first would help?

    You could also try pasting as plain text, but you'd still need to reformat the text once it's in the editor.

    So, no perfect solution I'm afraid.

    Dan

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Feb 17, 2010 @ 19:02
    Jan Skovgaard
    1

    I assume that the extra line breaks are either emtpy <p></p> element or maybe lot's of <br /> tags? Or maybe some obfuscated HTML due to the formatting from the PDF files?...If so you could try to use the "paste from word" function, which is available from TinyMCE.

    Otherwise then I would advice you to copy/paste content from the PDF files into a notepad file and then copy/paste the text from notepad into Umbraco. Then there should not be any unwanted linebreaks left.

    Hope this helps.

    /Jan

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Feb 17, 2010 @ 19:03
    Jan Skovgaard
    0

    Hmm, I really need to up my writing speed - Think I'll try using the ten-finger system in the future! :D

    /Jan

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies