Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: meetdilip on February 01, 2010, 01:24:45 PM

Title: Space gets deleted
Post by: meetdilip on February 01, 2010, 01:24:45 PM
Hi,

I am using RC2 . My forum is www.naradhavicharam.com. Whenever I use WYSIWYG editor and post something, the space between paragraphs got deleted. I tried and tested many time. You can check it yourselves. Just post some big article with WYSIWYG and then hit post. It will be posted but the space between the paragraphs got deleted. Every time I post, I have to disable the editor. It will be nice if you can look in to it.

thanks

Dilip
Title: Re: Space gets deleted
Post by: Norv on February 01, 2010, 01:30:18 PM
I think I've seen this reported before, I don't seem to find it right now though.

Thank you, in any case. :)
Title: Re: Space gets deleted
Post by: meetdilip on February 01, 2010, 01:42:41 PM
Any method to overcome it ? I am still facing problem.  :(
Title: Re: Space gets deleted
Post by: bboulris on February 03, 2010, 11:29:08 PM
Every time I use copy and paste I get he same problems but to make it even worse, if I paste a paragraph I will get up to 6 or 7 words that has had the space deleted too, so I have to edit, and separate the words, then sometimes re-edit 2 or 3 more times until it stays right after saving. Very Frustrating! :(
Title: Re: Space gets deleted
Post by: Arantor on February 04, 2010, 04:19:52 AM
So, what browser, and what are you trying to copy/paste, exactly? What theme are you using?
Title: Re: Space gets deleted
Post by: Joshua Dickerson on November 12, 2011, 10:07:57 PM
Any more information? Can this still be reproduced on this site?
Title: Re: Space gets deleted
Post by: Joker™ on January 05, 2012, 02:41:53 PM
SMF 2.0.2

Well while trying to reproduce this bug I found a complete opposite bug where line break was getting doubled.


Coming back to topic, I have tested WYSIWYG with following browsers and was unable to reproduced the mentioned issue

- Firefox 9
- Safari 5.1.1
- Opera 10.60
- Chrome 16
- IE 9

Edit - Found the similar topic over here (http://www.simplemachines.org/community/index.php?topic=392418.0).
Title: Re: Space gets deleted
Post by: vazmer on February 12, 2012, 05:03:34 PM
So, any solution to this issue (space gets lost)? I'm also having a problem with headings, which gets lost too and displayed as normal text.

And it seems to me that it's the same on this forum too.
Title: Re: Space gets deleted
Post by: emanuele on February 20, 2012, 03:56:25 PM
Hello vazmer and welcome to sm.org!

Could you please provide a detailed description of how to to reproduce the issue?
Title: Re: Space gets deleted
Post by: vazmer on February 20, 2012, 04:49:23 PM
For example, after copying one post from some external site to text area this is what I get (toggle view enabled, tested on this forum with Firefox 10 but it was the same on earlier versions as well): http://img19.imageshack.us/img19/149/f4992dc1a4244b5c8ab083c.png

And this is what I get after pressing the preview button: http://img851.imageshack.us/img851/333/2395ebd4ad824ff69a57133.png

Doing the same on my forum after pressing the preview button I'm getting: http://img849.imageshack.us/img849/3885/368fa0eb754b4ab09182c07.png (notice joined paragraphs, and lost heading attribute).


With Google Chrome 17 it gets even worse.

After copying to text area on this forum: http://img195.imageshack.us/img195/964/mirrorby.jpg

And after pressing previewing it: http://img848.imageshack.us/img848/3625/mirror1g.jpg

Pretty much the same on mine forum as well. And I get complains from users, so it's not just me.
Title: Re: Space gets deleted
Post by: emanuele on February 20, 2012, 05:09:18 PM
This is the html generated by Chome in the WYSIWYG editor when I do a copy and paste of the page you are showing:
Quote<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: 'Trebuchet MS', sans-serif; font-size: 13px; line-height: 18px; "><div class="styleGroup article-header" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; "><h1 class="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: bold; font-style: inherit; font-size: 2.308em; font-family: inherit; vertical-align: baseline; color: rgb(17, 17, 17); line-height: 1.1335em; ">London riots arsonist jailed after his crossed eyes were spotted on CCTV</h1><div class="lead-text" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; "><p class="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: 700; font-style: inherit; font-size: 1.30769em; font-family: inherit; vertical-align: baseline; color: rgb(90, 100, 102); line-height: 1.23529em; "></p><p xmlns="http://www.w3.org/1999/xhtml" style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: 700; font-style: inherit; font-size: 1.30769em; font-family: inherit; vertical-align: baseline; color: rgb(90, 100, 102); line-height: 1.23529em; ">Despite covering his face, officers combing through CCTV footage spotted Andrew Burls because of his distinctive looks</p></div><div class="styleGroup span-15-5" style="margin-top: 0px; margin-right: 20px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; float: left; width: 620px; "></div><div class="styleGroup social-media clearfix" style="margin-top: 10px; margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; display: block; zoom: 1; float: none; "><a class="addthis_button_tweet at300b" tw:url="http://www.mirror.co.uk/news/uk-news/london-riots-arsonist-jailed-after-691951" tw:via="DailyMirror" tw:text="London riots arsonist jailed after his crossed eyes were spotted on CCTV" tw:related="3am" tw:count="horizontal" tw:counturl="http://www.mirror.co.uk/news/uk-news/london-riots-arsonist-jailed-after-691951" title="Tweet" href="http://www.mirror.co.uk/news/uk-news/london-riots-arsonist-jailed-after-691951#" style="margin-top: 0px; margin-right: 10px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; color: rgb(19, 73, 135); text-decoration: none; outline-style: none; cursor: pointer; float: left; "><iframe frameborder="0" role="presentation" scrolling="no" allowtransparency="true" scrollbars="no" src="http://s7.addthis.com/static/r07/tweet14.html#href=http%3A%2F%2Fwww.mirror.co.uk%2Fnews%2Fuk-news%2Flondon-riots-arsonist-jailed-after-691951%23.T0LChfBNvIs.twitter&amp;dr=&amp;conf=data_track_clickback%3Dtrue%26username%3Dmirror%26pubid%3Dmirror&amp;share=url_transforms%3Dclean%253Dtrue%2523%2540!shorten%253Dtwitter%25253Dbitly%2523%2540!remove%253D0%25253Dsms_ss%252523%252540!1%25253Dat_xt%252523%252540!2%25253Dfb_ref%252523%252540!3%25253Dfb_source%2523%2540!defrag%253D1%23%40!shorteners%3Dbitly%253Dlogin%25253Ddailymirror%252523%252540!apiKey%25253DR_33891c131eea1632a0817c30b6d45823%23%40!imp_url%3D1%23%40!url%3Dhttp%253A%252F%252Fwww.mirror.co.uk%252Fnews%252Fuk-news%252Flondon-riots-arsonist-jailed-after-691951%23%40!title%3DLondon%2520riots%2520arsonist%2520jailed%2520after%2520his%2520crossed%2520eyes%2520were%2520spotted%2520on%2520CCTV%2520-%2520Mirror%2520Online%23%40!passthrough%3D&amp;tw=url%3Dhttp%253A%252F%252Fwww.mirror.co.uk%252Fnews%252Fuk-news%252Flondon-riots-arsonist-jailed-after-691951%2523.T0LChfBNvIs.twitter%23%40!via%3DDailyMirror%23%40!text%3DLondon%2520riots%2520arsonist%2520jailed%2520after%2520his%2520crossed%2520eyes%2520were%2520spotted%2520on%2520CCTV%23%40!related%3D3am%23%40!count%3Dhorizontal%23%40!counturl%3Dhttp%253A%252F%252Fwww.mirror.co.uk%252Fnews%252Fuk-news%252Flondon-riots-arsonist-jailed-after-691951%23%40!width%3D110" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; width: 110px; height: 20px; "></iframe></a><div class="fb-like fb_edge_widget_with_comment fb_iframe_widget" data-href="http://www.mirror.co.uk/news/uk-news/london-riots-arsonist-jailed-after-691951" data-send="true" data-layout="standard" data-width="" data-action="recommend" data-colorscheme="light" data-show-faces="false" data-font="lucida grande" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; position: relative; display: inline-block; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; position: relative; "><iframe id="f2d1965174" name="f1066891e4" scrolling="no" title="Like this content on Facebook." class="fb_ltr" src="http://www.facebook.com/plugins/like.php?action=recommend&amp;api_key=123792601022133&amp;channel_url=https%3A%2F%2Fs-static.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion%3D3%23cb%3Df337cdeb28%26origin%3Dhttp%253A%252F%252Fwww.mirror.co.uk%252Ff143adbeb8%26relation%3Dparent.parent%26transport%3Dpostmessage&amp;colorscheme=light&amp;extended_social_context=false&amp;font=lucida%20grande&amp;href=http%3A%2F%2Fwww.mirror.co.uk%2Fnews%2Fuk-news%2Flondon-riots-arsonist-jailed-after-691951&amp;layout=standard&amp;locale=en_US&amp;node_type=link&amp;sdk=joey&amp;send=true&amp;show_faces=false&amp;width=450" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: text-bottom; position: relative; border-width: initial; border-color: initial; overflow-x: hidden; overflow-y: hidden; height: 33px; width: 450px; border-width: initial; border-color: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; "></iframe></span></div></div><div class="widget relatedContents pictures widget-editable viziwyg-section-245 inpage-widget-158123" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; "><figure class="clearfix" style="margin-top: 0px; margin-right: 0px; margin-bottom: 6px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; display: block; position: relative; zoom: 1; "><img src="http://www.mirror.co.uk/incoming/article691957.ece/ALTERNATES/s615/Andrew+Burls%2C+23%2C+from+Peckham%2C+who+was+jailed+for+eight+years+at+Inner+London+Crown+Court+for+setting+fire+to+a+lingerie+boutique+and+a+post+office+in+Peckham" width="615" height="409" alt="Distinctive: Andrew Burls was spotted due to his eyes" class="" title="Distinctive: Andrew Burls was spotted due to his eyes" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; float: left; "><figcaption style="display: block; color: rgb(90, 100, 102); float: left; background-color: rgb(255, 255, 255); bottom: 30px; left: 10px; position: absolute; max-width: 96%; vertical-align: bottom; font-size: 1.077em; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; ">Distinctive: Andrew Burls was spotted due to his eyes</figcaption></figure></div></div><div class="body " style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 1.15385em; font-family: inherit; vertical-align: baseline; color: rgb(0, 0, 0); line-height: 1.28571em; ">An arsonist who caused more than £1m worth of damage in the August riots was caught after police noticed his distinctive crossed eyes on CCTV.</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 1.15385em; font-family: inherit; vertical-align: baseline; color: rgb(0, 0, 0); line-height: 1.28571em; ">Andrew Burls, 23, started blazes at Regen's Lingerie boutique in Peckham, south London, and a post office in the same street, during the riots. The fires left six people fearing for their lives.</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 1.15385em; font-family: inherit; vertical-align: baseline; color: rgb(0, 0, 0); line-height: 1.28571em; ">Despite covering his face with a bandana, officers combing through CCTV footage spotted Burls, of Purdon House, Peckham, because of his eyes.</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 1.15385em; font-family: inherit; vertical-align: baseline; color: rgb(0, 0, 0); line-height: 1.28571em; ">The 23-year-old originally denied the offence, but was jailed for a total of eight years at Inner London Crown Court today after pleading guilty on January 30 to two counts of arson being reckless as to whether life was endangered, and one of burglary with intent to steal at Iceland in Rye Lane, a court official confirmed.</p><div><br></div></div></span>

Honestly I don't have the slightest idea how to translate this into any kind of meaningful bbcode...
Title: Re: Space gets deleted
Post by: vazmer on February 20, 2012, 05:22:36 PM
It looks ugly, I agree. And it's not only problem with that article. It's the same with any other (those I tested).