<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://mg.to" xmlns:dc="https://purl.org/dc/elements/1.1/">
<channel>
 <title>mg.to - TextBar Drupal module for Markdown and Textile - Comments</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile</link>
 <description>Comments for &quot;TextBar Drupal module for Markdown and Textile&quot;</description>
 <language>en</language>
<item>
 <title>File not found.</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile#comment-6058</link>
 <description>&lt;p&gt;I&amp;#8217;m getting a &amp;#8220;file not found&amp;#8221; error. Could it be an update is coming?&lt;/p&gt;</description>
 <pubDate>Mon, 23 Jun 2008 01:17:49 +0000</pubDate>
 <dc:creator>Visitor</dc:creator>
 <guid isPermaLink="false">comment 6058 at https://mg.to</guid>
</item>
<item>
 <title>Thanks. I think both</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile#comment-6053</link>
 <description>&lt;p&gt;Thanks. I think both quicktags and TextBar are ready to use right now; try them out and see what you think. You can even install them both together&amp;#8212;they don&amp;#8217;t seem to interfere with each other at all.&lt;/p&gt;</description>
 <pubDate>Mon, 16 Jun 2008 07:43:27 +0000</pubDate>
 <dc:creator>Dominik</dc:creator>
 <guid isPermaLink="false">comment 6053 at https://mg.to</guid>
</item>
<item>
 <title>This script</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile#comment-6002</link>
 <description>&lt;p&gt;Hi, i&amp;#8217;ve download your script for adapting to another cms.
Basically i&amp;#8217;d link to execute this scipt in a simple html page.&lt;/p&gt;

&lt;p&gt;But it turn some error.&lt;/p&gt;

&lt;p&gt;I&amp;#8217;ve create a simple page width a textarea and the textbar wrapper div so as a drupal modul that you have included in the .tgz.&lt;/p&gt;

&lt;p&gt;Then i&amp;#8217;have insert a Implementation of hook_footer.&lt;/p&gt;

&lt;p&gt;When i load my page, my js console return these errors:&lt;/p&gt;

&lt;p&gt;function textbar_getInputFormatName does not always return a value
File sorgente: ./textbar/textbar.js
Riga: 342
Codice sorgente:
}&lt;/p&gt;

&lt;p&gt;have you something to say me to resolve this trouble?&lt;/p&gt;

&lt;p&gt;TKS  Marco&lt;/p&gt;</description>
 <pubDate>Sat, 24 May 2008 14:57:50 +0000</pubDate>
 <dc:creator>MarcoK</dc:creator>
 <guid isPermaLink="false">comment 6002 at https://mg.to</guid>
</item>
<item>
 <title>textbar and markdown</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile#comment-148</link>
 <description>&lt;p&gt;I relaise that this was written specifically for drupal, but if you are able to give me any hints on how to use this elsehwere I really would appreciate it. I wanted to find a wysiwyg for markdown, but it looks like I am out of luck, however your solution looks to be the closest thing&amp;#8230; and I haven&amp;#8217;t even tested it!&lt;/p&gt;</description>
 <pubDate>Mon, 27 Mar 2006 18:56:59 +0000</pubDate>
 <dc:creator>Rich Pedley</dc:creator>
 <guid isPermaLink="false">comment 148 at https://mg.to</guid>
</item>
<item>
 <title>Looking forward to this for 4.7 also</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile#comment-147</link>
 <description>&lt;p&gt;Great work on this module &amp;#8212; I&amp;#8217;m hopeful that you&amp;#8217;ll find the time to update it for 4.7 because I think it is needed.  Not enough emphasis in Drupal IMNSHO on ease of use for non-techies.  Sometimes the most interesting modules are the hardest to find.  Glad I ran across this one.&lt;/p&gt;</description>
 <pubDate>Tue, 28 Feb 2006 03:29:52 +0000</pubDate>
 <dc:creator>Visitor</dc:creator>
 <guid isPermaLink="false">comment 147 at https://mg.to</guid>
</item>
<item>
 <title>Sorry I&#039;ve neglected it :-)</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile#comment-145</link>
 <description>&lt;p&gt;I have the module working in 4.6, sorry I didn&amp;#8217;t post an update&amp;#8212;will do that soon. Haven&amp;#8217;t tackled 4.7 yet. Also there is a nasty JavaScript error in IE; I&amp;#8217;ve been meaning to fix that too. Stay tuned&amp;#8230;&lt;/p&gt;</description>
 <pubDate>Mon, 27 Feb 2006 20:08:25 +0000</pubDate>
 <dc:creator>Michael Geary</dc:creator>
 <guid isPermaLink="false">comment 145 at https://mg.to</guid>
</item>
<item>
 <title>Updates for future versions?</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile#comment-142</link>
 <description>&lt;p&gt;Any plans to update this excellent module for drupal 4.6 and even better 4.7? This module should definately have a place on drupal.org&amp;#8230;&lt;/p&gt;</description>
 <pubDate>Mon, 20 Feb 2006 10:26:55 +0000</pubDate>
 <dc:creator>Anders</dc:creator>
 <guid isPermaLink="false">comment 142 at https://mg.to</guid>
</item>
<item>
 <title>Nifty!</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile#comment-82</link>
 <description>&lt;p&gt;Hey, that is very cool, Chris. The live preview is great. It definitely would be nifty to add that to the TextBar, or maybe go the other way around and build on your editor code to support Markdown and Textile in addition to HTML. Must investigate this more when I get a little time.&lt;/p&gt;</description>
 <pubDate>Thu, 12 May 2005 15:54:42 +0000</pubDate>
 <dc:creator>Michael Geary</dc:creator>
 <guid isPermaLink="false">comment 82 at https://mg.to</guid>
</item>
<item>
 <title>This is a great start -- check out my demo</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile#comment-79</link>
 <description>&lt;p&gt;Hi Michael,&lt;/p&gt;

&lt;p&gt;This is great work&amp;#8212;I&amp;#8217;m glad to have found it! I&amp;#8217;m doing similar work but with more emphasis on the code and making it themeable&amp;#8212;replacing all those images with a list of links that can be subbed out with any image you prefer.&lt;/p&gt;

&lt;p&gt;See my pre-alpha &lt;a href=&quot;https://factorycity.net/demos/civicspace/editor&quot;&gt;demo&lt;/a&gt; for an idea of where I&amp;#8217;m heading.&lt;/p&gt;

&lt;p&gt;I&amp;#8217;ve also got an &lt;a href=&quot;https://factorycity.net/demos/civicspace/editor/index_textile.html&quot;&gt;&lt;span class=&quot;caps&quot;&gt;AJAX&lt;/span&gt; textile live-preview&lt;/a&gt; setup that would be great to merge with your textbar!&lt;/p&gt;

&lt;p&gt;Again, these are &lt;em&gt;very early prototypes&lt;/em&gt;, but I thought you&amp;#8217;d find them interesting!&lt;/p&gt;

&lt;p&gt;Chris&lt;/p&gt;</description>
 <pubDate>Fri, 06 May 2005 17:58:17 +0000</pubDate>
 <dc:creator>Chris Messina</dc:creator>
 <guid isPermaLink="false">comment 79 at https://mg.to</guid>
</item>
<item>
 <title>Thread repaired</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile#comment-78</link>
 <description>&lt;p&gt;The thread has been repaired, a problem with images on PunBB 1.1
Now you can see what has come out of the community :-)&lt;/p&gt;

&lt;p&gt;hakjoon and tmacwrig have come up with suggestion and experiments of their own, as you will see. But no one has ported it yet, so if it&amp;#8217;s not too hard, I guess TxP users will appreciate this coming out with 1.0 final :-)&lt;/p&gt;</description>
 <pubDate>Thu, 24 Mar 2005 08:37:01 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">comment 78 at https://mg.to</guid>
</item>
<item>
 <title>Thanks!</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile#comment-76</link>
 <description>&lt;p&gt;Thanks, David, I&amp;#8217;m glad you like it! It&amp;#8217;s funny you mention Textpattern, because next on my to-do list (after fixing some bugs) was to port the TextBar to Textpattern. It seems like it would be a natural.&lt;/p&gt;

&lt;p&gt;My immediate need was for a Drupal site I&amp;#8217;m running at work, so that came first. But if you don&amp;#8217;t get the code ported to Textpattern I&amp;#8217;ll probably do it. :-)&lt;/p&gt;

&lt;p&gt;I&amp;#8217;m curious to see the thread you mentioned in the Textpattern forum, but it seems to be broken. I can get to page 1 of the thread but not page 2.&lt;/p&gt;

&lt;p&gt;BTW, I took the liberty of converting your comment from Textile to Markdown syntax. Unfortunately, the Drupal modules for these two formats are incompatible with each other. (Each one has its own version of SmartyPants, both using the same function names!) So for the moment I had to disable one of the formats. But whatever you do, don&amp;#8217;t tell Dean that I disabled Textile: This site is hosted on &lt;a href=&quot;https://www.textdrive.com/&quot; title=&quot;TextDrive&quot;&gt;TextDrive&lt;/a&gt;! ;-)&lt;/p&gt;</description>
 <pubDate>Mon, 28 Feb 2005 04:22:33 +0000</pubDate>
 <dc:creator>Michael Geary</dc:creator>
 <guid isPermaLink="false">comment 76 at https://mg.to</guid>
</item>
<item>
 <title>Very nice :-)</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile#comment-75</link>
 <description>&lt;p&gt;Hi Michael,&lt;/p&gt;

&lt;p&gt;I discovered this Drupal module thanks to one of TextPattern&amp;#8217;s forum member, nardo. &lt;/p&gt;

&lt;p&gt;Some &lt;a href=&quot;https://textpattern.com&quot;&gt;TextPattern&lt;/a&gt; users were looking for textile java toolbar (see &lt;a href=&quot;https://forum.textpattern.com/viewtopic.php?id=5781&quot;&gt;this thread&lt;/a&gt; on TxP&amp;#8217;s forum), so it&amp;#8217;s only natural I am quite interrested in &lt;strong&gt;TextBar&lt;/strong&gt; (which I will certainly use for Drupal powered websites projects).&lt;/p&gt;

&lt;p&gt;I noticed you release under the GPL, which is nice :)
I&amp;#8217;ll keep you posted if a port of TextBar is released for TextPattern.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;David.&lt;/p&gt;</description>
 <pubDate>Mon, 28 Feb 2005 02:27:48 +0000</pubDate>
 <dc:creator>davidm</dc:creator>
 <guid isPermaLink="false">comment 75 at https://mg.to</guid>
</item>
<item>
 <title>TextBar Drupal module for Markdown and Textile</title>
 <link>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile</link>
 <description>&lt;p&gt;Here&amp;#8217;s a treat for &lt;a href=&quot;https://www.drupal.org/&quot; title=&quot;Drupal&quot;&gt;Drupal&lt;/a&gt; users who support the &lt;a href=&quot;https://daringfireball.net/projects/markdown/syntax&quot; title=&quot;Markdown&quot;&gt;Markdown&lt;/a&gt; and &lt;a href=&quot;https://textism.com/tools/textile/&quot; title=&quot;Textile&quot;&gt;Textile&lt;/a&gt; input formats on their sites. The &lt;strong&gt;TextBar&lt;/strong&gt; module adds a formatting toolbar for these input formats to Drupal&amp;#8217;s content and comment texarea fields.&lt;/p&gt;

&lt;p&gt;To try out the TextBar right now, you can &lt;a href=&quot;https://mg.to/comment/reply/107#comment&quot; title=&quot;Try out the TextBar&quot;&gt;comment&lt;/a&gt; on this message. (You don&amp;#8217;t need to save your comment unless you want to :-) but you&amp;#8217;ll be able to try out the toolbar while editing it.)&lt;/p&gt;

&lt;p&gt;You can try it with both the Markdown and Textile input formats (and if you select the Filtered HTML format the toolbar will disappear). The Textile input filter is not actually installed on this site, though, because of a &lt;a href=&quot;https://drupal.org/node/17195&quot; title=&quot;Conflict with Markdown module over SmartyPants&quot;&gt;conflict&lt;/a&gt; between the Markdown and Textile modules. So you won&amp;#8217;t be able to actually post a comment in Textile, but you can see how the TextBar generates Textile codes.&lt;/p&gt;

&lt;!--break--&gt;

&lt;p&gt;The TextBar is not a &lt;a href=&quot;https://en.wikipedia.org/wiki/Wysiwyg&quot; title=&quot;Wikipedia article&quot;&gt;WYSIWYG&lt;/a&gt; editor like &lt;a href=&quot;https://www.htmlarea.com/&quot; title=&quot;htmlArea&quot;&gt;htmlArea&lt;/a&gt;, &lt;a href=&quot;https://www.fckeditor.net/&quot; title=&quot;FCKeditor&quot;&gt;FCKeditor&lt;/a&gt;, or &lt;a href=&quot;https://xinha.gogo.co.nz/cgi-bin/trac.cgi&quot; title=&quot;Xinha&quot;&gt;Xinha&lt;/a&gt;. Drupal&amp;#8217;s textarea remains a textarea, and the TextBar merely provides a way to enter the Markdown or Textile formatting codes. It&amp;#8217;s not as slick as the WYSIWYG editors, but it&amp;#8217;s very fast and simple.&lt;/p&gt;

&lt;p&gt;If you&amp;#8217;ve used the excellent &lt;a href=&quot;https://wiki.splitbrain.org/wiki:dokuwiki&quot; title=&quot;DokuWiki&quot;&gt;DokuWiki&lt;/a&gt;, the TextBar will look very familiar, because that&amp;#8217;s what I ported the code from. DokuWiki in turn got it from &lt;a href=&quot;https://wikipedia.sourceforge.net/&quot; title=&quot;MediaWiki&quot;&gt;MediaWiki&lt;/a&gt; and &lt;a href=&quot;https://www.phpbb.com/&quot; title=&quot;phpBB&quot;&gt;phpBB&lt;/a&gt;. Many thanks to the authors of these programs for making it so easy to port this code to Drupal.&lt;/p&gt;

&lt;p&gt;There are no settings or options in this version. Simply install the textbar module and enable it in the admin/modules panel. Then you should see the toolbar on content body, comment, and block editing pages, but only when the selected input format has either &amp;#8220;Markdown&amp;#8221; or &amp;#8220;Textile&amp;#8221; in the name. The toolbar will show and hide itself when you switch between these formats and any other input formats.&lt;/p&gt;

&lt;p&gt;There are a number of loose ends. In particular, the internal and external link buttons could use some improvement, and I didn&amp;#8217;t implement the image button from DokuWiki&amp;#8217;s toolbar. Also, I&amp;#8217;d like to move the toolbar right above the textarea field instead of having the &amp;#8220;Body: *&amp;#8221; or similar text in between. (Not as easy as it sounds.) But it&amp;#8217;s useful enough that I thought I&amp;#8217;d release this version for comments before submitting it to the Drupal module collection.&lt;/p&gt;

&lt;p&gt;At this point, I&amp;#8217;ve only tested on Firefox and Internet Explorer. The DokuWiki toolbar does support other browsers, so if I&amp;#8217;ve broken something on another browser it should be easy enough to fix.&lt;/p&gt;

&lt;p&gt;If you like the TextBar, you can &lt;a href=&quot;files/textbar-2005-02-06.tgz&quot; title=&quot;Download the TextBar&quot;&gt;download it here&lt;/a&gt;. Your feedback would be greatly appreciated.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; I found one bug: If Markdown is the &lt;em&gt;only&lt;/em&gt; input format enabled, the TextBar does not show. I&amp;#8217;ll fix it shortly. In the meantime, a quick and dirty fix is to change &lt;code&gt;textbar_getInputFormatName()&lt;/code&gt; to return either &lt;code&gt;&#039;Markdown&#039;&lt;/code&gt; or &lt;code&gt;&#039;Textile&#039;&lt;/code&gt;.&lt;/p&gt;
</description>
 <comments>https://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile#comments</comments>
 <category domain="https://mg.to/topics/software/drupal">Drupal</category>
 <enclosure url="https://mg.to/files/textbar-2005-02-06.tgz" length="22481" type="application/binary" />
 <pubDate>Sat, 26 Feb 2005 20:44:07 +0000</pubDate>
 <dc:creator>Michael Geary</dc:creator>
 <guid isPermaLink="false">107 at https://mg.to</guid>
</item>
</channel>
</rss>
