<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>wysiwyg_custom.php v.3.13</title>
        <link>https://interactivetools.com/forum/forum-posts.php?wysiwyg_custom_php-v_3_13-81296</link>
        <description></description>
        <pubDate>Mon, 20 Apr 2026 11:22:50 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;wysiwyg_custom_php-v_3_13-81296" rel="self" type="application/rss+xml" />

                <item>
          <title>wysiwyg_custom.php v.3.13</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241997#post2241997</link>
          <description><![CDATA[<p>Wow! I hadn't realised the style select option was so powerful. Thanks for the details Zip. </p>]]></description>
          <pubDate>Wed, 25 Apr 2018 10:00:57 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241997#post2241997</guid>
        </item>
                <item>
          <title>wysiwyg_custom.php v.3.13</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241992#post2241992</link>
          <description><![CDATA[<p>Nice. Thanks!</p>]]></description>
          <pubDate>Tue, 24 Apr 2018 20:00:27 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241992#post2241992</guid>
        </item>
                <item>
          <title>wysiwyg_custom.php v.3.13</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241991#post2241991</link>
          <description><![CDATA[<p>Here are my base style_formats that I use for most projects:</p>
<p><code>style_formats: [  <br />    { title: 'Intro', block: 'div', classes: 'intro', wrapper: true, merge_siblings: false },<br />    { title: 'Divider Line', selector: 'p,h1,h2,h3,h4,h5,h6,div',  classes: 'divider' },<br />    { title: 'Feature Box', block: 'div', classes: 'feature-box', wrapper: true, merge_siblings: false },<br />    { title: 'Inset Box', block: 'div', classes: 'inset-box', wrapper: true, merge_siblings: false },<br />    { title: 'Pullquote', block: 'div', classes: 'pullquote', wrapper: true, merge_siblings: false },<br />   { title: 'Button', selector: 'a',  classes: 'btn'},<br />   { title: 'Images', items: [<br />     { title: 'Float left', block: 'div', classes: 'floatLeft', wrapper: true, merge_siblings: false },<br />     { title: 'Float right', block: 'div', classes: 'floatRight', wrapper: true, merge_siblings: false }<br />   ]},<br />    { title: 'Photo Caption', block: 'div', classes: 'photo-caption', wrapper: true, merge_siblings: false },<br />    { title: 'Footnote/s', block: 'div', classes: 'footnotes', wrapper: true, merge_siblings: false },<br />    { title: 'DEV Notes', block: 'div', classes: 'note', wrapper: true, merge_siblings: false }<br />],<br /></code></p>
]]></description>
          <pubDate>Tue, 24 Apr 2018 19:50:36 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241991#post2241991</guid>
        </item>
                <item>
          <title>wysiwyg_custom.php v.3.13</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241990#post2241990</link>
          <description><![CDATA[<p>That’s so cool! I never realised you could do that. It means for instance I could do break out quotes etc. </p>
<p>any more examples of that kind of thing?</p>]]></description>
          <pubDate>Tue, 24 Apr 2018 19:46:24 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241990#post2241990</guid>
        </item>
                <item>
          <title>wysiwyg_custom.php v.3.13</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241989#post2241989</link>
          <description><![CDATA[<p>Note, you can take this a bit further than the examples here. You can add rules that will add "wrapper" elements to your markup, which opens up a whole other world of opportunities. Here is an example...</p>
<p>Add this...</p>
<p><code>    { title: 'Intro', block: 'div', classes: 'intro', wrapper: true, merge_siblings: false },<br /></code></p>
<p>Now you can select a group of elements, select "Intro" from the style select dropdown, and your html will go from this...</p>
<p><code>&lt;h1&gt;Heading&lt;/h1&gt;<br />&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc condimentum tempor sodales. Phasellus eu metus vel urna pulvinar congue in vel tellus. &lt;/p&gt;<br />&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc condimentum tempor sodales. Phasellus eu metus vel urna pulvinar congue in vel tellus. &lt;/p&gt;<br /></code></p>
<p>to this...</p>
<p><code>&lt;div class="intro"&gt;<br />   &lt;h1&gt;Heading&lt;/h1&gt;<br />   &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc condimentum tempor sodales. Phasellus eu metus vel urna pulvinar congue in vel tellus. &lt;/p&gt;<br />   &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc condimentum tempor sodales. Phasellus eu metus vel urna pulvinar congue in vel tellus. &lt;/p&gt;<br />&lt;/div&gt;</code></p>
<p>Mind blown! Mine was :)</p>
]]></description>
          <pubDate>Tue, 24 Apr 2018 19:34:58 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241989#post2241989</guid>
        </item>
                <item>
          <title>wysiwyg_custom.php v.3.13</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241983#post2241983</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p>That's correct, the only additional change you'd need to make to your wysiwyg_custom.php to get the formats to appear is to add styleselect option to the toolbar, here is some example code for doing that:</p>
<p><code>    // Define toolbar buttons. See list of toolbar buttons here: <a href="https://www.tinymce.com/docs/advanced/editor-control-identifiers/#toolbarcontrols" rel="nofollow">https://www.tinymce.com/docs/advanced/editor-control-identifiers/#toolbarcontrols</a><br />    toolbar1: "formatselect fontsizeselect | <span style="color:#99cc00;"><strong>styleselect </strong></span>| bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist | outdent indent | superscript subscript charmap | removeformat fullscreen",<br />    toolbar2: "forecolor backcolor | link anchor | blockquote hr image media table | pastetext paste | codesample code",<br />    toolbar3: '',</code></p>
<p>Then you can add the style formats that you'd like to appear in the drop-down:</p>
<p><code><br />    // styleselect options - reference: <a href="https://www.tinymce.com/docs/configure/content-formatting/#style_formats" rel="nofollow">https://www.tinymce.com/docs/configure/content-formatting/#style_formats</a><br />    // Note: Selecting a 'style format' from the 'Formats' dropdown adds whatever classes and styles are listed below<br />    // ... to the selected content and surrounds that content with the tag specified in inline, block, or selector.<br />    // ... If using classes, make sure they're defined in both lib/wysiwyg.css and your website CSS files.<br />    style_formats: [<br />      { title: 'Example Class', selector: 'p',  classes: 'exampleClass' },<br />      { title: 'Red header',    block: 'h1',    styles: {color: '#ff0000'} },<br />      { title: 'Red text',      inline: 'span', styles: {color: '#ff0000'} },<br />      { title: 'Bold text',     inline: 'b'},<br />      { title: 'Example 1',     inline: 'span', classes: 'example1' },<br />      { title: 'Example 2',     inline: 'span', classes: 'example2' }<br />    ],</code></p>
<p>This will cause a new drop-down with the different formatting options to appear in the WYSIWYG menu, these can be mixed with the Text Format options if required.</p>
<p><strong>Note: </strong>If you're having issues with the updates to the wysiwyg_custom.php not appearing in the CMS, ensure that you remove any tinymce-temp gz files from the cmsb/data directory of the site.</p>
<p>Let me know if you've got any other questions.</p>
<p>Cheers,</p>
<p>Greg</p>]]></description>
          <pubDate>Fri, 20 Apr 2018 15:39:35 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241983#post2241983</guid>
        </item>
                <item>
          <title>wysiwyg_custom.php v.3.13</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241982#post2241982</link>
          <description><![CDATA[<p>Here's what I have determined. Correct me if I am wrong:</p>
<p>In order to use CSS classes, I need to edit the wysiwyg_custom.php file at line 71 in this manner:</p>
<p>  // styleselect options - reference: <a href="https://www.tinymce.com/docs/configure/content-formatting/#style_formats" rel="nofollow">https://www.tinymce.com/docs/configure/content-formatting/#style_formats</a><br />    // Note: Selecting a 'style format' from the 'Formats' dropdown adds whatever classes and styles are listed below<br />    // ... to the selected content and surrounds that content with the tag specified in inline, block, or selector.<br />    // ... If using classes, make sure they're defined in both lib/wysiwyg.css and your website CSS files.<br />    style_formats: [<br />    { title: 'Body Text Green', selector: 'p',  classes: 'bodytext_green' },<br /> { title: 'Headline Green', selector: 'p',  classes: 'headline_green' },<br /> { title: 'Headline Green Large', selector: 'p',  classes: 'headline_green_large' },<br /> { title: 'Body Link Green', selector: 'p',  classes: 'bodylink_green' },</p>
<p>The classes then appear in the Formats dropdowns on the editor page. Do I have that correct?</p>
<p>I can no longer see the CSS styles under a Styles dropdown as in past versions, correct?</p>
<p>Dave</p>
]]></description>
          <pubDate>Thu, 19 Apr 2018 16:27:49 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241982#post2241982</guid>
        </item>
                <item>
          <title>wysiwyg_custom.php v.3.13</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241977#post2241977</link>
          <description><![CDATA[<p>Dave, did you get this figured out?  If not, post back and I'll take a look for you.</p>]]></description>
          <pubDate>Thu, 19 Apr 2018 11:57:17 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241977#post2241977</guid>
        </item>
                <item>
          <title>wysiwyg_custom.php v.3.13</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241967#post2241967</link>
          <description><![CDATA[<p>I created a custom wysiwyg file that you can use/modify. It is based on bootstrap 3.3.7</p>
<p><a href="https://www.interactivetools.com/forum/forum-posts.php?postNum=2240125#post2240125" rel="nofollow">https://www.interactivetools.com/forum/forum-posts.php?postNum=2240125#post2240125</a></p>]]></description>
          <pubDate>Mon, 16 Apr 2018 13:59:13 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241967#post2241967</guid>
        </item>
                <item>
          <title>wysiwyg_custom.php v.3.13</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241962#post2241962</link>
          <description><![CDATA[<p>Greetings ... This is my first experience editing the wysiwyg.php on v.3.13..</p>
<p>I would like to use custom CSS and add a "Style Select" dropdown on the editor pages. Has that process changed?</p>
<p>At one time, I could add "styleselect" to the wysiwyg_custom.php file after adding additional styles to the wysiwyg_custom.css file as well as the CSS file for the site. It appears that's no longer how to get that done.</p>
<p>Can you point me in the right direction?</p>
<p>Dave</p>]]></description>
          <pubDate>Sat, 14 Apr 2018 19:17:06 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241962#post2241962</guid>
        </item>
              </channel>
    </rss>
  