Tonight we updated the text editor being used on the site. We moved from Tiny MCE 2.0 to Tiny MCE 3.0. Those of you who have chosen the "Standard Editor" or "Advanced Editor" option in your profile should find that the editor toolbar will now appear across
all browsers. (Previously it would only appear in IE and FireFox.)
The source code plugin we had been using was not compatible with Tiny MCE 3, so we are now using version 1.5 of Alex Gorbatchev's SyntaxHighlighter. You will notice some new formatting of source code which is inserted using the "Insert Code" icon in the
editor's toolbar. You will also seem a few options to "view plain", "copy to clipboard", and "print".
We will probably have a few adjustments to make regarding these additional options, but we were eager to get the Tiny MCE 3 update onto the site so that all browsers could have the RTE experience.
Tonight's update should address all known issues with the editor experience:
No editor toolbar appears in Chrome
No editor toolbar appears in Safari
No editor toolbar appears in Opera
C# with slashes in string is formatted like a comment
VB with single quotes in string is formatted like a comment
C# with HTML markup in string is not formatted correctly
C# generics are not formatted correctly
Pound sign (#) in HREF attribute does not appear
"expressions )" results in BLOCKED EXPRESSION being displayed
Pasting from Word presents Word markup junk as part of the post
<div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste">http://alexgorbatchev.com/wiki/SyntaxHighlighter:Versions</div> <div style="position: absolute; left: -10000px; top: 0px;
width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"></div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste">You aren't missing any core functionality,
so if you have it working to your satisfaction and has everything you need, i'd say it's not worth the effort upgrading just the sake of it.</div> <div></div>
Please note that this update will not affect the appearance of existing code snippets in forum posts.
Syntax Highlighter isn't used anymore. It's currently prettify.
We are currently running a live beta of the new ASP.NET Forums, and Kris is correct, we are using Google Code Prettify in the new version of the forums. The beta site will become the default site in about 1 week, at which point we will
no longer be using Syntax Highlighter.
tmorton
All-Star
56570 Points
9754 Posts
ASPInsiders
Moderator
Updated Text Editor
Jun 24, 2009 04:26 AM|LINK
Tonight we updated the text editor being used on the site. We moved from Tiny MCE 2.0 to Tiny MCE 3.0. Those of you who have chosen the "Standard Editor" or "Advanced Editor" option in your profile should find that the editor toolbar will now appear across all browsers. (Previously it would only appear in IE and FireFox.)
The source code plugin we had been using was not compatible with Tiny MCE 3, so we are now using version 1.5 of Alex Gorbatchev's SyntaxHighlighter. You will notice some new formatting of source code which is inserted using the "Insert Code" icon in the editor's toolbar. You will also seem a few options to "view plain", "copy to clipboard", and "print".
We will probably have a few adjustments to make regarding these additional options, but we were eager to get the Tiny MCE 3 update onto the site so that all browsers could have the RTE experience.
Tonight's update should address all known issues with the editor experience:
For reference, you can see samples of each of these fixes in this test thread: http://forums.asp.net/t/1437326.aspx
<div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste">http://alexgorbatchev.com/wiki/SyntaxHighlighter:Versions</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"></div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste">You aren't missing any core functionality, so if you have it working to your satisfaction and has everything you need, i'd say it's not worth the effort upgrading just the sake of it.</div> <div></div>Please note that this update will not affect the appearance of existing code snippets in forum posts.
ASP.NET/IIS.NET Website Manager, Neudesic
tmorton
All-Star
56570 Points
9754 Posts
ASPInsiders
Moderator
Re: Updated Text Editor
Jun 24, 2009 05:08 AM|LINK
Known issues we have corrected:
Known issues we need to correct:
Suggestions we need to look into:
(note: I am updating this list as issues become known)
ASP.NET/IIS.NET Website Manager, Neudesic
abatishchev
Member
6 Points
11 Posts
Re: Updated Text Editor
Jan 25, 2011 07:45 AM|LINK
Hi,
how about to update Syntax Highlighter from ver. 1.5 to ver. 3.0?
XIII
All-Star
182789 Points
23485 Posts
ASPInsiders
Moderator
MVP
Re: Updated Text Editor
Jan 25, 2011 08:16 AM|LINK
Hi,
Syntax Highlighter isn't used anymore. It's currently prettify.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
tmorton
All-Star
56570 Points
9754 Posts
ASPInsiders
Moderator
Re: Updated Text Editor
Jan 25, 2011 03:56 PM|LINK
We are currently running a live beta of the new ASP.NET Forums, and Kris is correct, we are using Google Code Prettify in the new version of the forums. The beta site will become the default site in about 1 week, at which point we will no longer be using Syntax Highlighter.
ASP.NET/IIS.NET Website Manager, Neudesic