Answered by:
T-SQL Forum Editor is Broken

Question
-
It does all kind of weird things. Like posts appearing in html.
Tool bar missing when editing. Stays in html.
Urgent.
Kalman Toth SQL SERVER 2012 & BI TRAINING
New Book: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2012- Edited by Kalman Toth Saturday, October 6, 2012 9:06 PM
Answers
-
We had an update today which included new editor bits. It's probable that there is a time frame where there was indeed some issues.
select dg.[Name] urlname, dg.DiscussiongroupTypeID, dg.searchdefaultbrandid, dg.archived, dg.islocked, count (ur.roleid) ModeratorsAdmins from ForumsUsers.dbo.UserRole ur right JOIN ForumsShard.dbo.DiscussionGroup dg ON ur.entityid = dg.discussiongroupid --where ur.roleid = '3' where dg.Archived = 0 group by dg.[Name], dg.searchdefaultbrandid, dg.archived, dg.islocked, dg.DiscussiongroupTypeID, ur.roleid order by ModeratorsAdmins
Community Forums Program Manager
- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, February 7, 2012 7:06 PM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, February 16, 2012 7:57 PM
-
Try dumping your cache Heslacher. The icons for html and code are in fact different. They are different actions that have different icons.
Community Forums Program Manager
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, February 16, 2012 7:56 PM
All replies
-
We had an update today which included new editor bits. It's probable that there is a time frame where there was indeed some issues.
select dg.[Name] urlname, dg.DiscussiongroupTypeID, dg.searchdefaultbrandid, dg.archived, dg.islocked, count (ur.roleid) ModeratorsAdmins from ForumsUsers.dbo.UserRole ur right JOIN ForumsShard.dbo.DiscussionGroup dg ON ur.entityid = dg.discussiongroupid --where ur.roleid = '3' where dg.Archived = 0 group by dg.[Name], dg.searchdefaultbrandid, dg.archived, dg.islocked, dg.DiscussiongroupTypeID, ur.roleid order by ModeratorsAdmins
Community Forums Program Manager
- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, February 7, 2012 7:06 PM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, February 16, 2012 7:57 PM
-
-
It is badly broken. Colors are incorrect, line breaks are removed, etc. See the sample
For every expert, there is an equal and opposite expert. - Becker's Law
My blog -
I looked at that example, it has line breaks. Where did you intend the line breaks to be? Can you mark it up in html and post it to the sample I just made at http://social.msdn.microsoft.com/Forums/en-US/msdnsandbox/thread/6c67ea03-e108-4643-ab93-f4bb41be8088 ? I purposely took the sql above and removed line breaks and that's what I used.
THe colors will be different, we are using the prettify colorizer now.
I do see the line breaks are removed in 'preview' window...is that what you are talking about?
Community Forums Program Manager
- Edited by Brent SerbusEditor Tuesday, February 7, 2012 5:04 AM edit
-
At this time it works OK for me to post and edit.
Kalman Toth, SQL Server & Business Intelligence Training; SQL SERVER BEST PRACTICES
- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, February 7, 2012 7:06 PM
-
I should also mention that this is really the v.1 of this thing. The good news is that we have a lot more control over the code and editor, able to update to current versions etc. So Things should only get better going forward. Thanks for the note Kalman.
Community Forums Program Manager
-
Brent,
I noticed the following: it is showing a question mark and check mark on a thread with multiple answers "How to add trailing....":
http://social.msdn.microsoft.com/Forums/en/transactsql/threads?page=12
The following is answered and shows a question mark:
http://social.msdn.microsoft.com/Forums/en/transactsql/thread/1c784da3-887b-4ee7-b4fe-3b01c1df71dc
Kalman Toth, SQL Server & Business Intelligence Training; SQL SERVER BEST PRACTICES
- Edited by Kalman Toth Tuesday, February 7, 2012 2:12 PM
-
Brent,
at least you need to change the icon either for Insert Html or Insert Code Block. The usability of same icons for different action is bad.
Hannes
If you have got questions about this, just ask.
In a perfect world,
users would never enter data in the wrong form,
files they choose to open would always exist
and code would never have bugs.
C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/ -
I just tried updating it by removing the code block and re-posting, but the colors are still messed up
<p>Try</p><pre class="prettyprint lang-sql">TanggalBerubah>=dateadd(day, datediff(day,'19000101',CURRENT_TIMESTAMP), '19000101')
and TanggalBerubah < dateadd(day, 1+ datediff(day,'19000101',CURRENT_TIMESTAMP), '19000101') </pre><hr /><span style="color:blue;">For every expert, there is an equal and opposite expert. - Becker's Law
<br />
<br />
<br />
<strong><a href="http://blogs.lessthandot.com/index.php/All/?disp=authdir&author=218">My blog</a></strong></span>
<p></p><p></p><p></p><br /><br />------------------------
The line break I had to manually insert two times, because otherwise it was posted as one long line.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog -
Kalman,
This problem was reported yesterday in another thread. Perhaps you identified the reason correctly - as soon as the thread has more than 1 answer it now loses the green mark.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog -
This is an oldie. It was fixed once, it is back.
When I edit a quote, I am stuck in it.
I have to go in to html, add "<p> </p>" as last row to bail myself out into the white area of the edit space.
I figured out what is bug. It inserts <p></p>before </blockquote> instead of after.
</blockquote><p></p>
Kalman Toth, SQL Server & Business Intelligence Training; SQL SERVER BEST PRACTICES
- Edited by Kalman Toth Wednesday, February 8, 2012 1:27 PM
-
Another sample of bad coloring
In this thread, it's hard to follow the code because of the bad colors.
Also, another problem I noticed - if I post a link, I don't have ability to continue typing, it looks like the Editor stops and I had to either add <p> in HTML mode or somehow force a new line.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog -
Also, another problem I noticed - if I post a link, I don't have ability to continue typing, it looks like the Editor stops and I had to either add <p> in HTML mode or somehow force a new line.
It happened to me also a few times.Kalman Toth, SQL Server & Business Intelligence Training; SQL SERVER BEST PRACTICES
-
Another sample of bad colors
I think it may have something to do with my usual way of writing code. I usually start to write code in the plain answer mode, then I switch to insert code mode. Using this algorithm seems to mess the colors.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog- Edited by Naomi N Tuesday, February 7, 2012 3:42 PM
-
Try dumping your cache Heslacher. The icons for html and code are in fact different. They are different actions that have different icons.
Community Forums Program Manager
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, February 16, 2012 7:56 PM
-
Just did and you are absolutely right.
Thanks
Hannes
If you have got questions about this, just ask.
In a perfect world,
users would never enter data in the wrong form,
files they choose to open would always exist
and code would never have bugs.
C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/