<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: Formatting code snippet in comment area</title>
  <link>http://www.activecollab.com/forums/topic/5197/</link>
  <description>Recent posts on topic: Formatting code snippet in comment area</description>
  <dc:language>en-us</dc:language>
  <pubDate>Wed, 23 May 2012 21:29:06 CDT</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/23240/#post23240</link>
    <guid>http://www.activecollab.com/forums/post/23240/#post23240</guid>
    <title>Post #12 by MarkA</title>
    <dc:creator>MarkA</dc:creator>
    <description><![CDATA[<p>I have posted a workaround under this post:<br />
<a href="http://www.activecollab.com/forums/topic/5230/" target="_blank" rel="nofollow">http://www.activecollab.com/forums/topic/5230/</a></p>]]></description>
    <pubDate>Tue, 27 Oct 2009 01:30:19 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/23138/#post23138</link>
    <guid>http://www.activecollab.com/forums/post/23138/#post23138</guid>
    <title>Post #11 by MarkA</title>
    <dc:creator>MarkA</dc:creator>
    <description><![CDATA[<p>Fare enough.. thanks for the info .. you might guys want to have this feature implemented sometime. </p>]]></description>
    <pubDate>Wed, 21 Oct 2009 12:08:17 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/23137/#post23137</link>
    <guid>http://www.activecollab.com/forums/post/23137/#post23137</guid>
    <title>Post #10 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>We haven't added support for extending styles list in the editor. It most probably can be hacked to work, but I really can't provide any assistance there.<br />
<br />
JS will have problem with targeting &amp;lt;<br />
<br />
I'm sorry that I can't dedicate more time to look into this and provide more assistance. Really understanding JavaScript, jQuery and TinyMCE is required to make this hack work properly.</p>]]></description>
    <pubDate>Wed, 21 Oct 2009 12:02:22 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/23136/#post23136</link>
    <guid>http://www.activecollab.com/forums/post/23136/#post23136</guid>
    <title>Post #9 by MarkA</title>
    <dc:creator>MarkA</dc:creator>
    <description><![CDATA[<p>Thanks for the info!!<br />
Is it possible to add my own styles the editor dropdown?<br />
<br />
Also, if the tags are converted, how would the syntaxhighlighter will find it? just wondering if the script will be able to identify &amp;lt; as &lt;<br />
<br />
Thanks! </p>]]></description>
    <pubDate>Wed, 21 Oct 2009 10:33:43 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/23120/#post23120</link>
    <guid>http://www.activecollab.com/forums/post/23120/#post23120</guid>
    <title>Post #8 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>1. All code that you insert in editor will be escaped and displayed as is, not interpreted. activeCollab makes sure that no invalid HTML code can leak into the database. You cannot add class to preformatted code or enter &lt;PRE&gt; element manually.<br />
<br />
2. There's no need to add JS code to the end of the page. What you can do, is wrap code that you want to be executed when page loads in ready() event of the document, like this:<br />
<br />
<pre name="code" class="brush: js">$(document).ready(function() {
  // Code that needs to be executed when full page is loaded
});</pre><br />
<br />
Just make sure that this block is executed in the file that's loaded after jQuery files is loaded.</p>]]></description>
    <pubDate>Wed, 21 Oct 2009 06:38:54 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/23112/#post23112</link>
    <guid>http://www.activecollab.com/forums/post/23112/#post23112</guid>
    <title>Post #7 by MarkA</title>
    <dc:creator>MarkA</dc:creator>
    <description><![CDATA[<p>I tried that.. I got two questions: <br />
1- The fact that the system does some changes to the tags when posted i.e. <br />
&amp;lt;pre name=&amp;quot;code&amp;quot; class=&amp;quot;html:nocontrols:firstline[10]&amp;quot;&amp;gt;<br />
instead of &lt;pre name=&quot;code&quot; class=&quot;html:collapse&quot;&gt;<br />
Does that mean we should further tweaking to the code, turn off a feature or something?!<br />
<br />
2- They are recommending js and css referanced to be right before the &lt;/body&gt; closing tag.. can that be done?</p>]]></description>
    <pubDate>Wed, 21 Oct 2009 02:13:46 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/23102/#post23102</link>
    <guid>http://www.activecollab.com/forums/post/23102/#post23102</guid>
    <title>Post #6 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Please check /public/assets/js.php and /public/assets/css.php files.</p>]]></description>
    <pubDate>Tue, 20 Oct 2009 06:56:13 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/23099/#post23099</link>
    <guid>http://www.activecollab.com/forums/post/23099/#post23099</guid>
    <title>Post #5 by MarkA</title>
    <dc:creator>MarkA</dc:creator>
    <description><![CDATA[<p>How can I add a reference to a javascript or a css file? </p>]]></description>
    <pubDate>Mon, 19 Oct 2009 16:54:04 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/23089/#post23089</link>
    <guid>http://www.activecollab.com/forums/post/23089/#post23089</guid>
    <title>Post #4 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Hi Mark,<br />
<br />
Sorry, I can't provide any exact steps (I didn't do the implementation of the editor in our forum, it was done by a former employee). It should be pretty straightforward if you already hacked the system and worked with JS. <br />
<br />
The only big problem is that I don't see a way how you can tell highlighter which syntax to use - activeCollab treats all code the same, and you can't add classes to it.</p>]]></description>
    <pubDate>Mon, 19 Oct 2009 06:44:00 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/23067/#post23067</link>
    <guid>http://www.activecollab.com/forums/post/23067/#post23067</guid>
    <title>Post #3 by MarkA</title>
    <dc:creator>MarkA</dc:creator>
    <description><![CDATA[<p>I have taken a look at it and seems that it will do the job.. can you give more hints on implementation. Where to go, what to change.. thanks in advance!</p>]]></description>
    <pubDate>Sat, 17 Oct 2009 13:40:27 CDT</pubDate>
  </item>
</channel>
</rss>
