Space gets deleted

Started by meetdilip, February 01, 2010, 01:24:45 PM

Previous topic - Next topic

meetdilip

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

Norv

I think I've seen this reported before, I don't seem to find it right now though.

Thank you, in any case. :)
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

meetdilip

Any method to overcome it ? I am still facing problem.  :(

bboulris

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! :(

Arantor

So, what browser, and what are you trying to copy/paste, exactly? What theme are you using?

Joshua Dickerson

Any more information? Can this still be reproduced on this site?
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

Joker™

#6
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.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

vazmer

#7
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.

emanuele

Hello vazmer and welcome to sm.org!

Could you please provide a detailed description of how to to reproduce the issue?


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

vazmer

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): hxxp:img19.imageshack.us/img19/149/f4992dc1a4244b5c8ab083c.png [nonactive]

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

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


With Google Chrome 17 it gets even worse.

After copying to text area on this forum: hxxp:img195.imageshack.us/img195/964/mirrorby.jpg [nonactive]

And after pressing previewing it: hxxp:img848.imageshack.us/img848/3625/mirror1g.jpg [nonactive]

Pretty much the same on mine forum as well. And I get complains from users, so it's not just me.

emanuele

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...


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

vazmer

It looks ugly, I agree. And it's not only problem with that article. It's the same with any other (those I tested).

Advertisement: