That is exactly what i am looking for. I would develop it if I knew how but I don't even know where to start. If this was developed FCKEditor would probably pull away from most editors because people who try to use CSS for design would see how fckeditor is useful. It would probably bring some of the standard designers also.
Please see this post how to use stylesheets in the dropdown box in the first versions of the editor. I'm waiting for Fred to build this feature in the editor, but I think there are other things that need to be done first. I'm looking forward for a new beta version!
Ive managed to do this through a little bit of clunky coding. I do not advocate this as elegant... but it does work for me in ColdFusion.
What Ive done is create a process that reads my website CSS file when my site application is created, parses the file for classNames, creates a XML string based on fskstyles.xml and then re-writes this string back to fskstyles.xml. (This is where the fckeditor styles are created!)
Obviously you may need a mechanism to possibly flag this routine withn your application so this process is only triggered once when the site application is created etc...
Ive only just gone over to version2 and so if my understanding of this is incorrect... please let me know.
RE: using StyleSheet
RE: using StyleSheet
RE: using StyleSheet
RE: using StyleSheet
RE: using StyleSheet
Please see this post how to use stylesheets in the dropdown box in the first versions of the editor. I'm waiting for Fred to build this feature in the editor, but I think there are other things that need to be done first. I'm looking forward for a new beta version!
https://sourceforge.net/forum/forum.php ... _id=257179
RE: using StyleSheet
RE: using StyleSheet
RE: using StyleSheet
What Ive done is create a process that reads my website CSS file when my site application is created, parses the file for classNames, creates a XML string based on fskstyles.xml and then re-writes this string back to fskstyles.xml. (This is where the fckeditor styles are created!)
Obviously you may need a mechanism to possibly flag this routine withn your application so this process is only triggered once when the site application is created etc...
Ive only just gone over to version2 and so if my understanding of this is incorrect... please let me know.