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.
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.
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.
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
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
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
Hmm, I really need to up my writing speed - Think I'll try using the ten-finger system in the future! :D
/Jan
is working on a reply...
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.