<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>wysiwygbbcode Discussions Rss Feed</title><link>http://wysiwygbbcode.codeplex.com/Thread/List.aspx</link><description>wysiwygbbcode Discussions Rss Description</description><item><title>New Post: How to compile the source code</title><link>http://wysiwygbbcode.codeplex.com/discussions/432559</link><description>&lt;div style="line-height: normal;"&gt;Hello all, &lt;br /&gt;
&lt;br /&gt;
 I ’ve just downloaded the source code instead of just the executable as advised, but how do I compile it and actually use it ? My OS is Mac OS 10.8.&lt;br /&gt;
&lt;br /&gt;
Thanks in advance for any help,&lt;br /&gt;
&lt;br /&gt;
Ewan&lt;br /&gt;
&lt;/div&gt;</description><author>jakezkerrien</author><pubDate>Sat, 09 Feb 2013 13:11:07 GMT</pubDate><guid isPermaLink="false">New Post: How to compile the source code 20130209011107P</guid></item><item><title>New Post: Problems in Firefox 15.0.1 </title><link>http://wysiwygbbcode.codeplex.com/discussions/395536</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;update editor.js near line 89 (it myst look like this
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;myeditor.write(&lt;span style="color: #a31515;"&gt;'&amp;lt;body style="margin:0px 0px 0px 0px;" class="editorWYSIWYG"&amp;gt;'&lt;/span&gt;);
&lt;/pre&gt;
&lt;/div&gt;
)&lt;/p&gt;
&lt;p&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;myeditor.write(&lt;span style="color: #a31515;"&gt;'&amp;lt;body style="padding:2px; margin:0px 0px 0px 0px;" class="editorWYSIWYG"&amp;gt;'&lt;/span&gt;);
&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;&lt;/div&gt;</description><author>Labor</author><pubDate>Thu, 08 Nov 2012 10:35:33 GMT</pubDate><guid isPermaLink="false">New Post: Problems in Firefox 15.0.1  20121108103533A</guid></item><item><title>New Post: Problems in Firefox 15.0.1 </title><link>http://wysiwygbbcode.codeplex.com/discussions/395536</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I just updated Firefox to version 15.0.1 and discovered that it causes problems in WYSIWYG BBCode Editor.&lt;/p&gt;
&lt;p&gt;After update it's not possible to place the cursor in textarea anymore. I have Windows 7.&lt;/p&gt;
&lt;p&gt;Any ideas how to fix this problem?&lt;/p&gt;
&lt;/div&gt;</description><author>soyyo</author><pubDate>Fri, 14 Sep 2012 13:04:53 GMT</pubDate><guid isPermaLink="false">New Post: Problems in Firefox 15.0.1  20120914010453P</guid></item><item><title>New Post: text is displayed in one line</title><link>http://wysiwygbbcode.codeplex.com/discussions/353147</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;i am using the editor and the parser found at http://wysiwygbbcode.codeplex.com/discussions/284375 and for the most part it works great but i don't get line breaks the only way i seem to be able to no matter how many times i hit enter all my text displays
 in one line.&lt;/p&gt;
&lt;/div&gt;</description><author>iam4423</author><pubDate>Sun, 22 Apr 2012 18:58:18 GMT</pubDate><guid isPermaLink="false">New Post: text is displayed in one line 20120422065818P</guid></item><item><title>New Post: Switching from one version to another</title><link>http://wysiwygbbcode.codeplex.com/discussions/288074</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;&lt;span id="result_box" lang="en"&gt;&lt;span&gt;I tried to&lt;/span&gt; &lt;span&gt;cross the&lt;/span&gt;
&lt;span&gt;old&lt;/span&gt; &lt;span&gt;bbeditor&lt;/span&gt; &lt;span&gt;1.4&lt;/span&gt; &lt;span&gt;to this&lt;/span&gt; &lt;span&gt;
bbcode&lt;/span&gt; &lt;span&gt;wysiwyg&lt;/span&gt;&lt;span&gt;-&lt;/span&gt;&lt;span&gt;and&lt;/span&gt; &lt;span&gt;i failed.&lt;/span&gt;
&lt;span&gt;The&lt;/span&gt; &lt;span&gt;admin&lt;/span&gt; &lt;span&gt;panel&lt;/span&gt; &lt;span&gt;to&lt;/span&gt; &lt;span&gt;have&lt;/span&gt;
&lt;span&gt;an integrated&lt;/span&gt; &lt;span&gt;bbeditor&lt;/span&gt; &lt;span&gt;old&lt;/span&gt;&lt;span&gt;,&lt;/span&gt; &lt;span&gt;
in the folder&lt;/span&gt; &lt;span&gt;where the&lt;/span&gt; &lt;span&gt;files&lt;/span&gt; &lt;span&gt;are&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="result_box" lang="en"&gt;&lt;br&gt;
&lt;span&gt;1. folder&lt;/span&gt;&lt;span&gt;:&lt;/span&gt; &lt;span&gt;images/&lt;/span&gt;&lt;br&gt;
&lt;span&gt;2.&lt;/span&gt; &lt;span&gt;ed.js&lt;/span&gt;&lt;br&gt;
&lt;span&gt;3. styles.css&lt;/span&gt;&lt;br&gt;
&lt;span&gt;4.&lt;/span&gt; &lt;span&gt;bbeditorimg.gif&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span&gt;I tried to&lt;/span&gt; &lt;span&gt;just&lt;/span&gt; &lt;span&gt;rename&lt;/span&gt; &lt;span&gt;the files&lt;/span&gt;
&lt;span&gt;and&lt;/span&gt; &lt;span&gt;(editor.js) and&amp;nbsp;&lt;/span&gt; (&lt;span&gt;editor.css)&lt;/span&gt; &lt;span&gt;
to match&lt;/span&gt; &lt;span&gt;the old version&lt;/span&gt; &lt;span&gt;in&lt;/span&gt; &lt;span&gt;the&lt;/span&gt; &lt;span&gt;
images&lt;/span&gt; &lt;span&gt;i&lt;/span&gt; &lt;span&gt;uploaded a&lt;/span&gt; &lt;span&gt;required&lt;/span&gt; &lt;span&gt;
picture&lt;/span&gt; &lt;span&gt;from the new&lt;/span&gt; &lt;span&gt;version&lt;/span&gt;&lt;span&gt;.&lt;/span&gt; &lt;span&gt;
I&lt;/span&gt; &lt;span&gt;also&lt;/span&gt; &lt;span&gt;threw&lt;/span&gt; &lt;span&gt;sample.htm&lt;/span&gt; &lt;span&gt;modified&lt;/span&gt;
&lt;span&gt;file.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="result_box" lang="en"&gt;&lt;br&gt;
&lt;span&gt;Nothing&lt;/span&gt; &lt;span&gt;seemed to help.&lt;/span&gt;&lt;br&gt;
&lt;span&gt;Is there any chance&lt;/span&gt; &lt;span&gt;to do&lt;/span&gt; &lt;span&gt;something similar,&lt;/span&gt;
&lt;span&gt;in order to establish&lt;/span&gt; &lt;span&gt;this&lt;/span&gt; &lt;span&gt;great&lt;/span&gt; &lt;span&gt;editor&lt;/span&gt;&lt;span&gt;?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="result_box" lang="en"&gt;&lt;br&gt;
&lt;span&gt;thank you&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>salesn</author><pubDate>Tue, 31 Jan 2012 20:23:37 GMT</pubDate><guid isPermaLink="false">New Post: Switching from one version to another 20120131082337P</guid></item><item><title>New Post: PHP BBCode Parser [Code Included]</title><link>http://wysiwygbbcode.codeplex.com/discussions/284375</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;This is our PHP BBCode parser, which you are welcome to use.&lt;/p&gt;
&lt;p&gt;To use it, simply call parsePost, and set $m to your message. Implemented in &lt;a title="CalicoBB" href="http://www.calicobb.com" target="_blank"&gt;
CalicoBB&lt;/a&gt;.&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;	&lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;function&lt;/span&gt; parsePost($m){
		&lt;span style="color:green"&gt;// parses the post with bbCode, smilies and also checks the badwords&lt;/span&gt;
		&lt;span style="color:green"&gt;// Make sure we cannot ever post HTML&lt;/span&gt;
		$m = htmlspecialchars($m, ENT_QUOTES);

		&lt;span style="color:green"&gt;// Youtube (to remove, comment out :))&lt;/span&gt;
		$yt_f = &lt;span style="color:#a31515"&gt;'/\[youtube\](.*?)\[\/youtube\]/is'&lt;/span&gt;;
		$yt_r = &lt;span style="color:#a31515"&gt;&amp;quot;&amp;lt;iframe title=\&amp;quot;YouTube video player\&amp;quot; width=\&amp;quot;480\&amp;quot; height=\&amp;quot;390\&amp;quot; src=\&amp;quot;http://www.youtube.com/embed/$1?rel=0\&amp;quot; frameborder=\&amp;quot;0\&amp;quot; allowfullscreen&amp;gt;Youtube video - [url=http://youtube.com/watch?v=$1]Watch now[/url]&amp;lt;/iframe&amp;gt;&amp;quot;&lt;/span&gt;;
		$m = preg_replace($yt_f,$yt_r,$m);
		
		&lt;span style="color:green"&gt;// URLS, images and colours&lt;/span&gt;
		$url_f = &lt;span style="color:blue"&gt;array&lt;/span&gt;(&lt;span style="color:#a31515"&gt;'/\[url\](.*?)\[\/url\]/is'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'/\[url=(.*?)\](.*?)\[\/url\]/is'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'/\[color=(.*?)\](.*?)\[\/color\]/is'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'/\[img\](.*?)\[\/img\]/is'&lt;/span&gt;); 
		$url_r = &lt;span style="color:blue"&gt;array&lt;/span&gt;(&lt;span style="color:#a31515"&gt;'&amp;lt;a href=&amp;quot;$1&amp;quot; target=&amp;quot;_blank&amp;quot; title=&amp;quot;$1&amp;quot;&amp;gt;$1&amp;lt;/a&amp;gt;'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'&amp;lt;a href=&amp;quot;$1&amp;quot; target=&amp;quot;_blank&amp;quot; title=&amp;quot;$1&amp;quot;&amp;gt;$2&amp;lt;/a&amp;gt;'&lt;/span&gt;,
			&lt;span style="color:#a31515"&gt;'&amp;lt;span style=&amp;quot;color: $1&amp;quot;&amp;gt;$2&amp;lt;/span&amp;gt;'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'&amp;lt;img src=&amp;quot;$1&amp;quot; alt=&amp;quot;User posted image&amp;quot; title=&amp;quot;User posted image&amp;quot; /&amp;gt;'&lt;/span&gt;);
		&lt;span style="color:green"&gt;// replace&lt;/span&gt;
		$m = preg_replace($url_f,$url_r,$m);
		
		&lt;span style="color:green"&gt;// Standard bbCode&lt;/span&gt;
		$bb_f = &lt;span style="color:blue"&gt;array&lt;/span&gt;(&lt;span style="color:#a31515"&gt;'[b]'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'[/b]'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'[u]'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'[/u]'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'[i]'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'[/i]'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'[ul]'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'[/ul]'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'[li]'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'[/li]'&lt;/span&gt;);
		$bb_r = &lt;span style="color:blue"&gt;array&lt;/span&gt;(&lt;span style="color:#a31515"&gt;'&amp;lt;strong&amp;gt;'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'&amp;lt;/strong&amp;gt;'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'&amp;lt;u&amp;gt;'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'&amp;lt;/u&amp;gt;'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'&amp;lt;em&amp;gt;'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'&amp;lt;/em&amp;gt;'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'&amp;lt;ul&amp;gt;'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'&amp;lt;/ul&amp;gt;'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'&amp;lt;li&amp;gt;'&lt;/span&gt;,&lt;span style="color:#a31515"&gt;'&amp;lt;/li&amp;gt;'&lt;/span&gt;);
		$m = str_ireplace($bb_f,$bb_r,$m);

		&lt;span style="color:green"&gt;// For Security...&lt;/span&gt;
		$m = str_ireplace(&lt;span style="color:#a31515"&gt;&amp;quot;%3C%73%63%72%69%70%74&amp;quot;&lt;/span&gt;,&lt;span style="color:#a31515"&gt;&amp;quot;&amp;amp;lt;script&amp;quot;&lt;/span&gt;,$m);
		$m = str_ireplace(&lt;span style="color:#a31515"&gt;&amp;quot;%64%6F%63%75%6D%65%6E%74%2E%63%6F%6F%6B%69%65&amp;quot;&lt;/span&gt;,&lt;span style="color:#a31515"&gt;&amp;quot;document&amp;amp;#46;cookie&amp;quot;&lt;/span&gt;,$m);
		$m = preg_replace(&lt;span style="color:#a31515"&gt;&amp;quot;#javascript\:#is&amp;quot;&lt;/span&gt;,&lt;span style="color:#a31515"&gt;&amp;quot;java script:&amp;quot;&lt;/span&gt;,$m);
		$m = preg_replace(&lt;span style="color:#a31515"&gt;&amp;quot;#vbscript\:#is&amp;quot;&lt;/span&gt;,&lt;span style="color:#a31515"&gt;&amp;quot;vb script:&amp;quot;&lt;/span&gt;,$m);
		$m = str_ireplace(&lt;span style="color:#a31515"&gt;&amp;quot;`&amp;quot;&lt;/span&gt;,&lt;span style="color:#a31515"&gt;&amp;quot;&amp;amp;#96;&amp;quot;&lt;/span&gt;,$m);
		$m = preg_replace(&lt;span style="color:#a31515"&gt;&amp;quot;#moz\-binding:#is&amp;quot;&lt;/span&gt;,&lt;span style="color:#a31515"&gt;&amp;quot;moz binding:&amp;quot;&lt;/span&gt;,$m);
		$m = str_ireplace(&lt;span style="color:#a31515"&gt;&amp;quot;&amp;lt;script&amp;quot;&lt;/span&gt;,&lt;span style="color:#a31515"&gt;&amp;quot;&amp;amp;lt;script&amp;quot;&lt;/span&gt;,$m);
		$m = str_ireplace(&lt;span style="color:#a31515"&gt;&amp;quot;&amp;amp;#8238;&amp;quot;&lt;/span&gt;,&lt;span style="color:#a31515"&gt;''&lt;/span&gt;,$m);
		&lt;span style="color:green"&gt;// now, we can send it back&lt;/span&gt;
		&lt;span style="color:blue"&gt;return&lt;/span&gt; $m;
	}
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>watp</author><pubDate>Wed, 28 Dec 2011 16:43:10 GMT</pubDate><guid isPermaLink="false">New Post: PHP BBCode Parser [Code Included] 20111228044310P</guid></item><item><title>New Post: Youtube fix &amp; Insert Smilie mod</title><link>http://wysiwygbbcode.codeplex.com/discussions/284374</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;We've made two fixed to the editor for our forum software (in which the editor is included).&lt;/p&gt;
&lt;p&gt;Youtube fix:&lt;br&gt;
This prompts the user just to enter the ID for the video. Obviously, you would need to update your parser to take this into account.&lt;br&gt;
Find the Youtube function and replace with:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;	&lt;span style="color:blue"&gt;this&lt;/span&gt;.InsertYoutube = &lt;span style="color:blue"&gt;function&lt;/span&gt; () {
		&lt;span style="color:green"&gt;// added for CalicoBB&lt;/span&gt;
		&lt;span style="color:blue"&gt;var&lt;/span&gt; youtubeCode = prompt(&lt;span style="color:#a31515"&gt;&amp;quot;Enter the YouTube video ID. Eg: http://youtube.com/watch?v=123, enter 123&amp;quot;&lt;/span&gt;,&lt;span style="color:#a31515"&gt;&amp;quot;sg60aAtYNnk&amp;quot;&lt;/span&gt;);
		&lt;span style="color:blue"&gt;this&lt;/span&gt;.InsertText(&lt;span style="color:#a31515"&gt;&amp;quot;[youtube]&amp;quot;&lt;/span&gt; &amp;amp; youtubeCode &amp;amp; &lt;span style="color:#a31515"&gt;&amp;quot;[/youtube]&amp;quot;&lt;/span&gt;);
	}&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Insert Smilie:&lt;br&gt;
This allows you to insert smilies where you want.&lt;br&gt;
After the Youtube fix, add:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;	&lt;span style="color:blue"&gt;this&lt;/span&gt;.InsertSmile = &lt;span style="color:blue"&gt;function&lt;/span&gt; (txt) {
		&lt;span style="color:green"&gt;// added for CalicoBB&lt;/span&gt;
		&lt;span style="color:blue"&gt;this&lt;/span&gt;.InsertText(txt);
	}
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;To use it, use the code&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;img&lt;/span&gt; &lt;span style="color:red"&gt;src&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;quot;__image_url___&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;quot;:smile:&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;alt&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;quot;:smile:&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;onclick&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;quot;wswgEditor.InsertSmile('__image_code__');&amp;quot;&lt;/span&gt; &lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The editor is great, and so easy to use.&lt;/p&gt;
&lt;/div&gt;</description><author>watp</author><pubDate>Wed, 28 Dec 2011 16:37:19 GMT</pubDate><guid isPermaLink="false">New Post: Youtube fix &amp; Insert Smilie mod 20111228043719P</guid></item><item><title>New Post: Insert Text with WYSWYG BBCode Editor</title><link>http://wysiwygbbcode.codeplex.com/discussions/215988</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Same issue. I've WYSIWYG BBCode Editor v1.0.0.2 but it's not fixed yet.&lt;/p&gt;
&lt;p&gt;I would like to copy/paste a huge list of items (&amp;gt;50) that are in two columns and find a way to align them nicely.&lt;/p&gt;
&lt;p&gt;user656544455&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 60$&lt;br /&gt;user51&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 50$&lt;br /&gt;user4545485&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;75$&lt;br /&gt;...&lt;/p&gt;
&lt;p&gt;I dunno what tags to use!&lt;/p&gt;
&lt;p&gt;[col] [tb] ... are not working&lt;/p&gt;
&lt;p&gt;1) When I use the "add table" in the menu, it gives me a nice table in the preview area but when I hit the "Generate the BBCode" button and then the "Load BBCode", it put all items on the same line and there is no more table!&lt;/p&gt;
&lt;p&gt;2) If I copy/paste items that are in OpenOffice / Excel : same thing.&lt;/p&gt;
&lt;p&gt;Please help!&lt;/p&gt;
&lt;p&gt;Another thing, the code [HR] (to add a line) is removed when I reload the code. Why?&lt;/p&gt;
&lt;p&gt;Wishlist:&lt;/p&gt;
&lt;p&gt;- You should add a "add line" button / icon btw. &lt;br /&gt;- A code "cleaner / inspector / checker" should be added to, to remove bad leftovers after an intense editing...&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>scorpio99</author><pubDate>Sat, 05 Nov 2011 02:02:40 GMT</pubDate><guid isPermaLink="false">New Post: Insert Text with WYSWYG BBCode Editor 20111105020240A</guid></item><item><title>New Post: Youtube videos?</title><link>http://wysiwygbbcode.codeplex.com/discussions/266637</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Can i add youtube videos with&amp;nbsp; your WYSIWYG EDITOR???&lt;/p&gt;
&lt;/div&gt;</description><author>Antraxki</author><pubDate>Tue, 26 Jul 2011 19:29:34 GMT</pubDate><guid isPermaLink="false">New Post: Youtube videos? 20110726072934P</guid></item><item><title>New Post: Multi wysiwyg support</title><link>http://wysiwygbbcode.codeplex.com/discussions/263517</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I'll look int that thanks&lt;/p&gt;&lt;/div&gt;</description><author>jitbit</author><pubDate>Sun, 24 Jul 2011 17:26:06 GMT</pubDate><guid isPermaLink="false">New Post: Multi wysiwyg support 20110724052606P</guid></item><item><title>New Post: WYSIWYG editor causes problems for iframes</title><link>http://wysiwygbbcode.codeplex.com/discussions/263661</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;this depends on how your iframe is coded... Just tested with an ifram on my side - works fine&lt;/p&gt;&lt;/div&gt;</description><author>jitbit</author><pubDate>Sun, 24 Jul 2011 17:25:44 GMT</pubDate><guid isPermaLink="false">New Post: WYSIWYG editor causes problems for iframes 20110724052544P</guid></item><item><title>New Post: WYSIWYG editor causes problems for iframes</title><link>http://wysiwygbbcode.codeplex.com/discussions/263661</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have an iframe on my website which refreshes every 5 minutes keeping users online. I just noticed that this iframe doesn't refresh if WYSIWYG editor is included in that page. Session ends and user is logged off.&lt;/p&gt;
&lt;p&gt;Why WYSIWYG editor causes problems for other iframes? Is there any way how to resolve this problem?&lt;/p&gt;
&lt;p&gt;&lt;a id="ctl00_ctl00_MasterContent_ProjectTitleControl1_ProjectTitleLink1" href="../"&gt;&lt;/p&gt;
&lt;h1 id="ctl00_ctl00_MasterContent_ProjectTitleControl1_ProjectHeader"&gt;&lt;span id="ctl00_ctl00_MasterContent_ProjectTitleControl1_TitleLabel"&gt;&lt;br&gt;
&lt;/span&gt;&lt;/h1&gt;
&lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>soyyo</author><pubDate>Sat, 02 Jul 2011 10:27:41 GMT</pubDate><guid isPermaLink="false">New Post: WYSIWYG editor causes problems for iframes 20110702102741A</guid></item><item><title>New Post: Multi wysiwyg support</title><link>http://wysiwygbbcode.codeplex.com/discussions/263517</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;hi, first of all love the editor.. any chance of making the code support multiple wysiwyg instances on the page at a single time&lt;/p&gt;
&lt;p&gt;cheers&lt;/p&gt;
&lt;/div&gt;</description><author>matty_p60</author><pubDate>Fri, 01 Jul 2011 07:44:33 GMT</pubDate><guid isPermaLink="false">New Post: Multi wysiwyg support 20110701074433A</guid></item><item><title>New Post: Adding text centering</title><link>http://wysiwygbbcode.codeplex.com/discussions/238000</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hmm,&lt;/p&gt;
&lt;p&gt;I tried to add a custom button so that &lt;strong&gt;[cit] some text[/cit]&lt;/strong&gt; becomes &lt;strong&gt;&amp;lt;div class="cit"&amp;gt;some text&amp;lt;/div&amp;gt;&amp;nbsp;&lt;/strong&gt;but it doesn't work. Everything checked 50 times - no success. Nothing happends when I click on icon.&lt;/p&gt;
&lt;p&gt;Of course, &amp;nbsp;I added ".cit" to css file.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Actually I am trying to replace [quote][/quote] so that it formats quoted text instead of showing just bbcode tags around it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Than I copied your example with [center] and it works. However, when I modify your example, it stops wotking.&amp;nbsp;Mysticism...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyone can help to add this custom button.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</description><author>soyyo</author><pubDate>Fri, 03 Jun 2011 15:06:25 GMT</pubDate><guid isPermaLink="false">New Post: Adding text centering 20110603030625P</guid></item><item><title>New Post: Bug in Opera</title><link>http://wysiwygbbcode.codeplex.com/discussions/260064</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;1. Enter some text in textarea. Make it bold. Place cursor at the and of entered text and press &amp;quot;enter&amp;quot; once. Enter one more line of text. &amp;nbsp;It automatically will be bold. Now click on &amp;quot;switch to source&amp;quot;. You will see the following:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;[b]First text[/b]&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;[b]Second text&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;[/b]&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Now remove[b][/b] tags from &amp;quot;Second text&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;[b]First text[/b]&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Second text&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Switch back to Html preview.&lt;/p&gt;
&lt;p&gt;Select &amp;quot;Second text&amp;quot; and make it bold. It will become bold. Now click on&amp;nbsp;&amp;quot;switch to source&amp;quot; again. You will not find [b][/b] tags around &amp;quot;second text&amp;quot; anymore. When you return to html preview you will see that &amp;quot;second text&amp;quot; is not bold anymore. You
 can try to format &amp;quot;second text&amp;quot; again and again. All tags will be removed not only in &amp;quot;source&amp;quot;. The same will happend if you save the text - &amp;quot;second text&amp;quot; will be saved without any formatting.&lt;/p&gt;
&lt;p&gt;Try to format text, for example, in Firefox. Save the text. Load saved text in textarea for editing in Opera. Add one more line of text at the end. Any formatting will be removed from new added text if you see it in &amp;quot;preview&amp;quot; or save it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One more thing. it's not only opera related. I don't understand why the script makes so many newlines in bbcode. For example:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;[b]Second text&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;[/b]&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Why it puts [/b] in a new line instead of end of the text?&lt;/p&gt;
&lt;/div&gt;</description><author>soyyo</author><pubDate>Fri, 03 Jun 2011 10:59:51 GMT</pubDate><guid isPermaLink="false">New Post: Bug in Opera 20110603105951A</guid></item><item><title>New Post: WYSIWYG BBCode Editor in phpBB 3.0.8?</title><link>http://wysiwygbbcode.codeplex.com/discussions/256464</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;How to insert and to make work correctly Your script in the &lt;strong&gt;phpBB 3.0.8&lt;/strong&gt;?&lt;br&gt;
Any additional functions not required! &lt;br&gt;
Only standard functions phpBB forum 3.0.8&lt;/p&gt;
&lt;/div&gt;</description><author>phpbbforce</author><pubDate>Thu, 05 May 2011 10:08:20 GMT</pubDate><guid isPermaLink="false">New Post: WYSIWYG BBCode Editor in phpBB 3.0.8? 20110505100820A</guid></item><item><title>New Post: Wysiwygbbcode-66549 errors in Internet Explorer 9</title><link>http://wysiwygbbcode.codeplex.com/discussions/256463</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello! Type text in the Internet Explorer 9&lt;/p&gt;
&lt;p&gt;press Enter.&lt;/p&gt;
&lt;p&gt;The list of cities of Moscow, St.-Petersburg, Stalingrad&lt;/p&gt;
&lt;p&gt;Is this code:&lt;br&gt;
&lt;/p&gt;
&lt;pre&gt;[ul][li]Hello! Type text in the Internet Explorer 9
press Enter and press Enter
[b]The list cities
[/b]Moscow[/li][li]St.-Petersburg[/li][li]Stalingrad
[/li][/ul]&lt;/pre&gt;
&lt;span style="color:#ff0000"&gt;&lt;span style="color:#000000"&gt;In &lt;strong&gt;Firefox 3.6.17
&lt;/strong&gt;this there is no error!&lt;/span&gt; How to fix&lt;strong&gt; Internet Explorer 9&lt;/strong&gt;?&lt;/span&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>phpbbforce</author><pubDate>Thu, 05 May 2011 10:04:49 GMT</pubDate><guid isPermaLink="false">New Post: Wysiwygbbcode-66549 errors in Internet Explorer 9 20110505100449A</guid></item><item><title>New Post: Looking for a BBCode parser (php)</title><link>http://wysiwygbbcode.codeplex.com/discussions/256340</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;First of all - thank you for this great script. So far I was using a TinyMCE on my website but the problem was html tags. Many users are like children and make their profile texts like Christmas trees and usualy they copy formated texts somewhere. It leads
 the situation that some texts contains 90% of useless html tags like:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;span&amp;gt;&amp;lt;/span&amp;gt;span&amp;gt;&amp;lt;/span&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;(the same as in this forum if you look at formatted text.)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;WYSIWYG BBCode Editor is great - it allows to format texts in much cleaner way.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I need is help to parse the BBCode. This is the function what I use:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;function&lt;/span&gt; bbcode ($message) {
$search = &lt;span style="color:blue"&gt;array&lt;/span&gt;(
&lt;span style="color:#a31515"&gt;'@\[(?i)b\](.*?)\[/(?i)b\]@si'&lt;/span&gt;,
&lt;span style="color:#a31515"&gt;'@\[(?i)i\](.*?)\[/(?i)i\]@si'&lt;/span&gt;,
&lt;span style="color:#a31515"&gt;'@\[(?i)u\](.*?)\[/(?i)u\]@si'&lt;/span&gt;,
&lt;span style="color:#a31515"&gt;'/\[color=rgb(.*?)\](.*?)\[\/color\]/si'&lt;/span&gt;,
&lt;span style="color:#a31515"&gt;'/\[quote=](.*?)\[\/quote\]/si'&lt;/span&gt;,
&lt;span style="color:#a31515"&gt;'/\[li](.*?)\[\/li\]/si'&lt;/span&gt;,
&lt;span style="color:#a31515"&gt;'/\[ul](.*?)\[\/ul\]/si'&lt;/span&gt;,
);
$replace = &lt;span style="color:blue"&gt;array&lt;/span&gt;(
&lt;span style="color:#a31515"&gt;'&amp;lt;b&amp;gt;\\1&amp;lt;/b&amp;gt;'&lt;/span&gt;,
&lt;span style="color:#a31515"&gt;'&amp;lt;i&amp;gt;\\1&amp;lt;/i&amp;gt;'&lt;/span&gt;,
&lt;span style="color:#a31515"&gt;'&amp;lt;u&amp;gt;\\1&amp;lt;/u&amp;gt;'&lt;/span&gt;,
&lt;span style="color:#a31515"&gt;'&amp;lt;span style=\&amp;quot;color:rgb\\1\&amp;quot;&amp;gt;\\2&amp;lt;/span&amp;gt;'&lt;/span&gt;,
&lt;span style="color:#a31515"&gt;'&amp;lt;span class=\&amp;quot;quote&amp;quot;&amp;gt;\\1&amp;lt;/span&amp;gt;'&lt;/span&gt;,
&lt;span style="color:#a31515"&gt;'&amp;lt;li&amp;gt;\\1&amp;lt;/li&amp;gt;'&lt;/span&gt;,
&lt;span style="color:#a31515"&gt;'&amp;lt;ul&amp;gt;\\1&amp;lt;/ul&amp;gt;'&lt;/span&gt;,
);
&lt;span style="color:blue"&gt;return&lt;/span&gt; preg_replace($search , $replace, $message);
}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;It works but not always. For example, from this:&lt;br&gt;&lt;br&gt;&lt;div style="color:black; background-color:white"&gt;&lt;pre&gt;asasas
asasasa

[ul][li]asasasas[/li][li]asasas[/li][li]asasa[/li][/ul]
asasasa
&lt;/pre&gt;
&lt;/div&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;I get:&lt;br&gt;======================&lt;br&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;asasas &lt;br&gt;
asasasa &lt;br&gt;
&lt;br&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;asasasas &lt;/li&gt;&lt;li&gt;asasas [li]asasa[/li ] &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;br&gt;
asasasa&lt;/p&gt;
&lt;p&gt;===================&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are also problems to parse BBCode like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;[b][color=rgb(102, 0, 102)]te[color=rgb(102, 153, 51)]s[/color]t[/color][/b]
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;where the result is:&lt;/p&gt;
&lt;p&gt;===============&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;&lt;span style="color:#660066"&gt;te[color=rgb(102, 153, 51)]s&lt;/span&gt;t[/color]&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;===============&lt;br&gt;
&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Where can I get a good BBCode parser? Can somebody help? I will pay some money if it's&amp;nbsp; necessary.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;br&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>soyyo</author><pubDate>Wed, 04 May 2011 15:52:22 GMT</pubDate><guid isPermaLink="false">New Post: Looking for a BBCode parser (php) 20110504035222P</guid></item><item><title>New Post: blockquote color</title><link>http://wysiwygbbcode.codeplex.com/discussions/252630</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Where can i change &lt;strong&gt;blockquote&lt;/strong&gt; background color ?&lt;/p&gt;&lt;/div&gt;</description><author>glwestern</author><pubDate>Tue, 05 Apr 2011 17:53:56 GMT</pubDate><guid isPermaLink="false">New Post: blockquote color 20110405055356P</guid></item><item><title>New Post: Edit</title><link>http://wysiwygbbcode.codeplex.com/discussions/252576</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;How can i add, position left, center, right? and only outputs colors i decide? like, red, blue, green.&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;/div&gt;</description><author>glwestern</author><pubDate>Tue, 05 Apr 2011 13:11:24 GMT</pubDate><guid isPermaLink="false">New Post: Edit 20110405011124P</guid></item></channel></rss>