Closed (won't fix)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2010 at 14:35 UTC
Updated:
1 Oct 2010 at 06:59 UTC
Hi Im using the editor for several sites and wanted to know if you can add extra style classes in the config area. EG
I would like to out a span class each time I add a header tag without having to edit and add the tage each time is use the editor. I want the class to be added automatically added to the header tag.
Present out
HeaderWhat I want to be outputted
HeaderThe span classes added within the config file or the correct file. Sorry a designe here a point in the right direction would be great.
Thanks in advace
Comments
Comment #1
joe enbula commentedFirst post. Ok here is the code
<h1>Header</h1>What I want to be outputted
<h1><span></span>Header</h1>The span classes added within the config file or the correct file. Sorry a designe here a point in the right direction would be great.
Thanks in advace
Comment #2
jorrit commentedThis is definitely not something that would be added to the FCKeditor module. Either write a plugin for FCKeditor (or even better: CKEditor), or write a filter for Drupal.
Comment #3
joe enbula commentedIm not expecting a rewrite of to FCKeditor..... Just a hint to where to find the code. SO I can have a try and see if it would work? Thanks
Comment #4
jorrit commentedThis page is a good start:
http://api.drupal.org/api/drupal/developer--examples--filter_example--fi...