Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CKeditor: Wrap a selection with tags
#4
I am sorry that the forum there is so bad, I did not know that

but why do you want to define a separate button, you can add your span to the styles box, instead of "red title" for example, that should not be so difficult


as described in http://get-simple.info/wiki/how_to:edito...tom_files, you can define the styles in the standard-stylesheet

for example:

Code:
{ name : 'My Span', element : 'span', styles : { 'text-align' : 'left','color' : 'Green' } },

beware of the apostrophes, and when you want to add more than one style, separate them with a comma not semicolon;
cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply


Messages In This Thread
CKeditor: Wrap a selection with tags - by Connie - 2011-09-26, 02:18:37
CKeditor: Wrap a selection with tags - by Connie - 2011-09-26, 03:53:11
CKeditor: Wrap a selection with tags - by Connie - 2011-09-27, 18:25:36
CKeditor: Wrap a selection with tags - by Connie - 2011-09-27, 19:20:05
CKeditor: Wrap a selection with tags - by Connie - 2011-09-28, 00:23:42



Users browsing this thread: 1 Guest(s)