I have a pre-built, rather in-depth CSS file that is loaded into my Drupal based website. I would rather be able to reference these styles via the WYSIWYG as opposed to being forced to use in-line styles that CKEditor seems to use by default. Is there a plugin for CKEditor or a module for Drupal that will allow me to apply classes from my current CSS file into text withing the CKEditor window?
e.g.
<span class="red">This text is red</span>
as opposed to:
<span style="color: red">This text is red</span>
This would be beneficial in case we decide to change the css of a style, we would much rather it be referenced from a single source then input inline on each instance of the style, this would also reduce the size of the page source. Thanks.
e.g.
<span class="red">This text is red</span>
as opposed to:
<span style="color: red">This text is red</span>
This would be beneficial in case we decide to change the css of a style, we would much rather it be referenced from a single source then input inline on each instance of the style, this would also reduce the size of the page source. Thanks.
