<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 11:47:59 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) WYSIWYG Bold effect on a DIV, Span etc. - aamirrajpoot</title>
      <link>https://snipplr.com/view/46434/wysiwyg-bold-effect-on-a-div-span-etc</link>
      <description>&lt;p&gt;Create a div with 'news_bulletin_div' as ID and add css as you like, add Bold button infront of it using float (or what ever where ever)&#13;
&#13;
Add toggleSelectionBold on that button.&#13;
&#13;
Now select a part of text within the DIV and click bold. It will bold it, again select the same bold text and click bold button and it will un-bold the selection.&#13;
&#13;
Cheers.&lt;/p&gt;</description>
      <pubDate>Mon, 03 Jan 2011 22:44:05 UTC</pubDate>
      <guid>https://snipplr.com/view/46434/wysiwyg-bold-effect-on-a-div-span-etc</guid>
    </item>
  </channel>
</rss>
