 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Forum and Wrox.com Feedback section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|

June 20th, 2010, 02:46 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Joe,
It's a bug in the editor. I reported it some time ago but it never got fiixed.
It happens when you paste formatted code (from Visual Studio) and wrap it in code tags. You can work around it by removing formattiing first directly after you pasted using the Remove Text Formatting button on the toolbar.
Hope thhis helps,
Imar
|

June 21st, 2010, 02:58 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
Imar
Thanks for that. I tried to edit it and replace with unformatted code but it wouldn't let me edit the stuff either...
I'll know better next time.
|

June 21st, 2010, 03:03 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Yeah, it's a frustrating bug, especially when other users post something like "my code doesn't work; can you take a look" and then post broken code without realizing there's a problem ;-)
|

June 21st, 2010, 04:43 PM
|
 |
Wrox Staff
Points: 18,059, Level: 58 |
|
|
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts
|
|
Joe: What specifically did the code block mangle? Just the line indents or something else?
I'm not sure why you weren't able to edit your post. Permissions are set up that you should be able to. Any more details on that I'd appreciate too.
__________________
Jim Minatel
Associate Publisher, WROX - A Wiley Brand
Did someone here help you? Click  on their post!
|

June 22nd, 2010, 03:06 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
Jim
If you look at the post you'll see that spaces between key words have been removed.
As regards to editing when I click the edit button I get a swirling image and that's it. It never switches into editing mode. I have tried on more than one machine, just tried again now, same result. Using IE8.
|

July 15th, 2010, 06:09 AM
|
|
|
p2p programmer
i posted some HTML/script code today (javacript drop down boxes - populating one dependent on value of the other) and the code block really mangled it. Is there a way to avoid this?
|

July 15th, 2010, 07:19 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
I don't think you can fix it (which post was it?). If you use a code block to post code then apparently you can't have formating. Instead of copying fron Visual Studio for example I now go via Notepad to get the plain text and then paste into the forum.
|

July 18th, 2010, 07:47 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Joe,
Funny how you just responded to your own post.... ;-)
Looks like narasimha is spamming these forums with copies of earlier posts. Time to block his account maybe?
Imar
|

July 19th, 2010, 11:43 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
Well I knew the answer
And it gets my post count up, been very busy lately...
|
|
 |