Advertise with Googlier.comdrupal 7
http://www.bluedropshop.com/tags/drupal-7
enAdding Your Theme Classes to CKEditor
http://www.bluedropshop.com/blog/adding-your-theme-classes-ckeditor
<span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Adding Your Theme Classes to CKEditor</span>
<span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="http://www.bluedropshop.com/user/8" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">kthull</span></span>
<span property="schema:dateCreated" content="2014-10-03T21:08:48+00:00" class="field field--name-created field--type-created field--label-hidden">Fri, 10/03/2014 - 16:08</span>
<div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>WYSIWYG editors are the bane of my existence, yet they are a necessary evil if you have clients that want to edit their site content.</p>
<p>But somewhere between all the inline styles they create to editing source code, there simply had to be a solution that would let me open up my theme css to content creators. </p>
<p>After much searching and testing, I have found that unicorn. </p>
<p>CKEditor populates the style drop down menu with a js file, and it lets you override it. Problem is, as stated in the docs, it doesn't work. And there were a few various options posted in the CKEditor module issue queue. </p>
<p>First off, you create a new js file to name a function that will build the drop down select items and the parameters for each. Contrary to what has been suggested in various posts, I put this in my theme's js folder. That way it won't get overridden by a module or library update, and it just makes sense since it's tied to my theme. Only CKEditor will be looking for this file, so there's no need to call it in your template files nor add it to your .info file. </p>
<p>For example, I created a file named ckeditor_styles.js like so:<br />
</p></div>
Fri, 03 Oct 2014 21:08:48 +0000kthull3 at http://www.bluedropshop.com