Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CKeditor: Wrap a selection with tags
#6
Code:
'text-align' : 'left','color' : 'Green'

my example showed how you can set more than one attribute, so why do you need more tags?

I would suggest to try that. Why not use the easy to use capabilities instead of loosing a lot of time with tweaking?

What do you want to define exactly? What is the CSS you want to add really?

If you want to realize what you showed in the first post:
Code:
<span class="ymarker" style="background: url(&quot;.../images/ymarker_right_corner.gif&quot;) no-repeat scroll right center transparent; height: 12px; padding-right: 6px; position: relative; left: -8px; margin-right: -12px;"><span style="background: url(&quot;.../images/ymarker_left_corner.gif&quot;) no-repeat scroll 0px 6px transparent; padding: 0pt 0pt 0pt 8px;">' + save + '</span></span>' )

keep all this together in a class and you are done
|--

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)